Professional Documents
Culture Documents
O211 Comp6590 SL01 09
O211 Comp6590 SL01 09
Practicum Case
COMP6064 | COMP6590 | T0243
Geographical Information System
Computer Science O211-COMP6590-SL01-09
Learning Outcomes
Explain concept, component and the advantages of geographical information system (GIS)
GIS concept and data model
GIS data
Geodatabase
Spatial analysis using GIS tools
GIS data standards and future trends
Topic
Session 09 – Raster Analysis
Sub Topics
Image Clustering
Image Classification
Page 1 of 19
140920 FM-BINUS-AA-FPT-66/R7
Soal
Case
Raster Analysis
Raster Analysis is a tool to analyze part of a map and determine what the type of the place. In
ArcMap, raster analysis divided by 2 which are:
a. Supervised Image Classification:
Uses the spectral signatures obtained from training samples to classify an image. With the
assistance of the Image Classification toolbar, we can easily create training samples to
represent the classes we want to extract. We can also easily create a signature file from the
training samples, which is then used by the multivariate classification tools to classify the
image.
b. Unsupervised Image Classification:
Finds spectral classes (or clusters) in a multiband image without the analyst’s intervention. The
Image Classification toolbar aids in unsupervised classification by providing access to the tools
to create the clusters, capability to analyze the quality of the clusters, and access to
classification tools.
Page 2 of 19
140920 FM-BINUS-AA-FPT-66/R7
2. Enable ‘Spatial Analyst’ extension in extensions menu and ‘Image Classification’ toolbar
Page 3 of 19
140920 FM-BINUS-AA-FPT-66/R7
3. Use ‘Draw Polygon’ tool to take training sample. For this case, we divide the sample to 4
type: agricultural, uncultivated, water body and neighborhood. So first we take the
agricultural sample. The more training sample, the more accurate the data.
4. Open ‘Training Sample Manager’ and merge the same type sample.
Page 4 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 5 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 6 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 7 of 19
140920 FM-BINUS-AA-FPT-66/R7
6. Use ‘Interactive Supervised Classification’ tool and we will get the result.
Page 8 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 9 of 19
140920 FM-BINUS-AA-FPT-66/R7
3. The result is not accurate because sometimes few different color is detected as the same
if the number of classes is too small. So, this time we try to use 20 number of classes.
4. Change the symbology variation to the same variation, for this example, we use green
for agricultural, blue for water body, sun for uncultivated, and rose for neighborhood.
Page 10 of 19
140920 FM-BINUS-AA-FPT-66/R7
5. Open ‘Search’ tool and find ‘Reclassify (Spatial Analyst)’ to merge the same symbology.
Page 11 of 19
140920 FM-BINUS-AA-FPT-66/R7
6. Change the value to 1 for water body, 2 for agricultural, 3 for uncultivated and 4 for
neighborhood.
Page 12 of 19
140920 FM-BINUS-AA-FPT-66/R7
7. We also could convert from raster to polygon data by using ‘Raster to Polygon’. After
that, we could also set the symbology based on the grid code.
Page 13 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 14 of 19
140920 FM-BINUS-AA-FPT-66/R7
8. We also could classify the grid code and store it into a new field, so we could symbolize by
the class name
Page 15 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 16 of 19
140920 FM-BINUS-AA-FPT-66/R7
dim defClass
if [gridcode] = 1 Then
defClass = "Water Body"
elseif [gridcode] = 2 Then
defClass = "Agricultural"
elseif [gridcode] = 3 Then
defClass = "Uncultivated"
elseif [gridcode] = 4 Then
defClass = "Neighbourhood"
end if
Figure 36. Field Calculator Formula
Page 17 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 18 of 19
140920 FM-BINUS-AA-FPT-66/R7
Page 19 of 19