Difference between revisions of "Landscape Change Assessment using Unsupervised Image Classification in GRASS GIS"
Line 3: | Line 3: | ||
==Introduction to GRASS GIS== |
==Introduction to GRASS GIS== |
||
+ | [[File:LT_GrassLogo.png|frame|GRASS GIS Logo]] |
||
Line 9: | Line 10: | ||
===Software Download and Installation=== |
===Software Download and Installation=== |
||
− | In this tutorial, GRASS GIS version 7.8.1 is being used. The latest version of GRASS GIS may be downloaded [https://grass.osgeo.org/ here]. This website contains very useful information and documentation for users that have never been exposed to GRASS GIS before now. I highly suggest looking at this documentation, as well as [https://gracilis.carleton.ca/CUOSGwiki/index.php/Intro_to_GRASS_workshop this tutorial] which provides more information on GRASS GIS. |
+ | In this tutorial, GRASS GIS version 7.8.1 for Windows is being used, however this software is also available for Mac and Linux users. The latest version of GRASS GIS may be downloaded [https://grass.osgeo.org/ here]. This website contains very useful information and documentation for users that have never been exposed to GRASS GIS before now. I highly suggest looking at this documentation, as well as [https://gracilis.carleton.ca/CUOSGwiki/index.php/Intro_to_GRASS_workshop this tutorial] which provides more information on GRASS GIS. |
===Data Set=== |
===Data Set=== |
||
Line 29: | Line 30: | ||
===Starting GRASS GIS=== |
===Starting GRASS GIS=== |
||
+ | Once GRASS GIS is properly installed on your computer, you may locate it and open the program. |
||
+ | [[File:LT_StartGrass.png|800px]] |
||
+ | |||
+ | ''Figure 1: Screenshot of GRASS GIS Startup Interface'' |
||
+ | |||
+ | ===Adding Extensions=== |
||
+ | |||
+ | [[File:LT_AddonsExtension_1.png|600px]] |
||
+ | ''Figure : The path to install new add-ons in GRASS GIS.'' |
||
+ | |||
+ | [[File:LT_AddonsExtension_2.png|600px]] |
||
+ | ''Figure : The "Fetch & Install Extension from GRASS Add-ons" window with search results for the r.smooth.seg add-on. '' |
||
+ | |||
+ | :1) At this point, GRASS GIS must be closed and restarted. Upon opening GRASS GIS for the second time, navigate to the Modules tab at the bottom of the Layer Manager window. |
||
+ | |||
+ | :2) Click the + sign beside the Addons category to expand it. |
||
+ | |||
+ | :3) Double-click on the r.smooth.seg add-on to run the selected module. |
||
+ | |||
+ | [[File:LT_AddonsExtension_3.png|600px]] |
||
+ | ''Figure : The Layer Manager window with the Modules tab open, and the newly installed add-on selected.'' |
||
===Importing Landsat Rasters=== |
===Importing Landsat Rasters=== |
Revision as of 15:13, 6 December 2019
Contents
- 1 Purpose
- 2 Introduction to GRASS GIS
- 3 Methods
- 3.1 Software Download and Installation
- 3.2 Data Set
- 3.3 Starting GRASS GIS
- 3.4 Adding Extensions
- 3.5 Importing Landsat Rasters
- 3.6 Map Swipe
- 3.7 Segmentation
- 3.8 Pre-Processing
- 3.9 Unsupervised Classification
- 3.10 Landscape Change Assessment
- 3.11
- 3.12 Not Covered in this Tutorial
- 3.13 Additional Resources
- 4 Conclusion
- 5 References
Purpose
The purpose of this tutorial is:
Introduction to GRASS GIS
Methods
Software Download and Installation
In this tutorial, GRASS GIS version 7.8.1 for Windows is being used, however this software is also available for Mac and Linux users. The latest version of GRASS GIS may be downloaded here. This website contains very useful information and documentation for users that have never been exposed to GRASS GIS before now. I highly suggest looking at this documentation, as well as this tutorial which provides more information on GRASS GIS.
Data Set
Because this tutorial is being written to demonstrate the ability of GRASS GIS to assess changes in landscapes, a data set has been provided for the user. There are many sources where one can find satellite imagery data, however a data set is being provided to the user so they may follow along with this tutorial without having their own data set. This data set consists of two GeoTiff files acquired using the Earth Observing System (EOS) Landviewer tool. These GeoTiff files contains an image obtained by Landsat 7 on September 7, 2000 and an image obtained by Landsat 8 on September 23, 2017. Both images contain imagery of the same area of interest (AOI) which consists of a 40.04 km² square area centered at 45.03001°N 75.68135°W. This area is located in Kemptville, Ontario, an area which has undergone development since the early 2000s to accommodate for increased population sizes. The population of Kemptville is expected to rise given it's close proximity to Ottawa, making it an ideal location for commuters to reside, which means that further development is also expected.
Landscape Change Assessment Data Set | |
---|---|
Data Information | Data File |
GeoTiff file for raster imagery from September 7, 2000 (Landsat 7) | September 2000 File |
GeoTiff file for raster imagery from September 23, 2017 (Landsat 8) | September 2017 File |
Starting GRASS GIS
Once GRASS GIS is properly installed on your computer, you may locate it and open the program.
Figure 1: Screenshot of GRASS GIS Startup Interface
Adding Extensions
Figure : The path to install new add-ons in GRASS GIS.
Figure : The "Fetch & Install Extension from GRASS Add-ons" window with search results for the r.smooth.seg add-on.
- 1) At this point, GRASS GIS must be closed and restarted. Upon opening GRASS GIS for the second time, navigate to the Modules tab at the bottom of the Layer Manager window.
- 2) Click the + sign beside the Addons category to expand it.
- 3) Double-click on the r.smooth.seg add-on to run the selected module.
Figure : The Layer Manager window with the Modules tab open, and the newly installed add-on selected.
Importing Landsat Rasters
r.in.gdal [(https://grass.osgeo.org/grass78/manuals/r.in.gdal.html]
d.rgb [1]
Map Swipe
Segmentation
i.segment
Pre-Processing
i.cluster
Unsupervised Classification
i.maxlik
Landscape Change Assessment
Not Covered in this Tutorial
r.smooth.seg - image pre-processing (takes place before segmentation)
Additional Resources
Conclusion
References
https://renx.ca/kemptville-building-boom-retail-residential/
Earth Observing System (EOS) Landviewer [2]
GRASS GIS Software [3]