Exercise1 RS
Exercise1 RS
Exercise1 RS
Exercise No. 1
Installation and Familiarization with QGIS and Semi‐automated Classification Plugin
Introduction:
QGIS is a professional Geographic Information System (GIS) application that is built on top of and proud
to be itself Free and Open Source Software (FOSS), licensed under the GNU General Public License. QGIS
is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX,
Windows, and Android and supports numerous vector, raster, and database formats and functionalities
Developed by Luca Congedo, the Semi‐Automatic Classification Plugin (SCP) is a free and open source
plugin for QGIS that allows for the semi‐automatic classification (also known as supervised classification)
of remote sensing images. It provides several tools for the download of free images, preprocessing,
postprocessing, and raster calculation. The overall objective of SCP is to provide a set of intertwined tools
for raster processing in order to make an automatic workflow and ease the land cover classification, which
could be performed also by people whose main field is not remote sensing.
Objectives:
• To install and be familiarized with the interface and tools in QGIS 3.22
• To explore the capabilities of QGIS in displaying raster data (images)
• To install the Semi‐automated Classification Plugin (SCP) and display Landsat 8 satellite image data
Materials:
• QGIS 3.22
• Semi‐Automatic Classification Plugin (SCP) files (optional)
• Landsat 8 OLI image containing your hometown (you need to download from
https://earthexplorer.usgs.gov/)
Procedures:
a. For this exercise, in QGIS menu go to Settings > User profiles > Open Active Profile folder. The QGIS
profile folder will open.
b. Open the folder python > plugins and copy the provided SCP plugin folder to this directory.
c. Restart QGIS.
Using either option, after the Semi‐Automatic Classification Plugin is installed, a dock and a toolbar
should be added to QGIS. Also, an SCP menu is available in the Menu Bar of QGIS. It is possible to move
the toolbar and the dock according to your needs, similar to the figure below:
6. In the menu bar click SCP and note the available tools/options:
Question 1: Describe the resulting image display. Which colors correspond to which earth’s surface
features? Paste a screenshot of the image displayed and its legend as shown in the Layers panel.
Question 2: What is the quantization level, coordinate reference system, and spatial resolution (with
the correct unit) of the image?
22. In the Symbology tab, expand the options for Min / Max Value Settings
i. Click on the radio button for Min / Max. Click Apply and inspect the resulting image display.
ii. Select Mean +/‐ standard deviation 2. Click Apply and inspect the resulting image display.
iii. Return the setting to cumulative count cut 2 ‐ 98%
Question 3: Describe the effect of changing settings for min/max values. Paste screenshots of the
resulting image display to support your observations.
23. Click the dropdown option for Contrast enhancement (it’s above Min / Max Value Settings). The
default is Stretch to MinMax. Try the Stretch and clip to MinMax and Clip to MinMax. Note the
changes in the image display.
Question 4: Describe the effect of different contrast enhancement options in QGIS. Paste screenshots
of the resulting image display to support your observations.
V. ZOOMING TOOLS
24. The zoom tools are useful for focusing and looking at the
spatial aspect of your geographic data. Inspect the different
Zoom tools:
25. You can use Zoom to Layer to reset the zoom level of your
display and focus on a particular data layer. This is helpful if
your image is displaced too much that you cannot see your
data and/or several layers are simultaneously displayed.
26. Create a Navigation window. Go to menu View > New Map
View. A window will be created named Map 1. Click the
Zoom Full button.
27. Click the View settings button and configure as shown on
the image on the right.
28. Click the button again to close the options.
29. In the map view window, try zooming in and out of the image
display. Observe what happens in the Map 1 window.
Question 5: What is the purpose of Map 1 window? What does the
red rectangle demarcate?
30. Save your project. In the Menu bar, go to Project > Save As.
References:
• https://qgis.org/en/site/about/index.html
• Congedo Luca (2016). Semi‐Automatic Classification Plugin Documentation. DOI:
http://dx.doi.org/10.13140/RG.2.2.29474.02242/1
For submission:
• A report containing:
a summary of steps done for this exercise
answers to questions
• Save your report as RSlab1_<SURNAME>.pdf