21
MSc in Geoinformatics – Managing Energy, Resources, Environment Teacher Training Dushanbe, 25.9. – 1.10.2011 1 510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained msc-gem.zgis.net Module_6: Spatial Analysis Lesson : Spatial Datasets Analysis Department of «Geodesy and Geoinformatics» Tajik Agrarian University named after Sh. Shotemur .Mirzoev M.M.

Module_6: Spatial Analysis

  • Upload
    iria

  • View
    54

  • Download
    1

Embed Size (px)

DESCRIPTION

Module_6: Spatial Analysis . Lesson : Spatial Datasets Analysis. Department of « Geodesy and Geoinformatics » Tajik Agrarian University named after Sh. Shotemur . Mirzoev M.M. Objectives . Data analysis Grid datasets information Future conversion Datasets function Assignment. - PowerPoint PPT Presentation

Citation preview

Page 1: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

1510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

Module_6: Spatial Analysis

Lesson : Spatial Datasets Analysis

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Page 2: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

2510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tObjectives

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Data analysis

Grid datasets information

Future conversion

Datasets function

Assignment

Page 3: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

3510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tMap Analysis

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Map analysis consists of inferring information – necessary for a given engineering/scientific task – from general information contained in digital spatial datasets. In map analysis with raster datasets, the digital spatial datasets consist of grids.

Page 4: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

4510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

Spatial Analyst

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

To enable the raster data analysis capabilities, load the Spatial Analyst ArcGIS extension by clicking Tools/ Extensions/Spatial Analyst and then Tools/Customize/ Spatial Analyst.

The Spatial Analyst adds a toolbar that contains a Spatial Analyst menu, a combo box Layer for selecting the layer, a Create contour tool and a Histogram tool.

Page 5: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

5510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tGrid Datasets

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Page 6: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

6510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tGrid Data Structure

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Cellular-based data structure composed of square cells of equal size arranged in rows and columns that store the value of a terrain parameter

Cells that do not store a value are assigned a NODATA code and are called NODATA cells.

Number of columns

Num

ber o

f row

s

Cell size

(x, y)

Page 7: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

7510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Type: Integer or Floating Point.Depending on the type of numbers the grid cells store, a grid is considered Integer if it stores integer values or Floating Point if it stores real values. Floating Point grids store the same information as an Integer grid but take significantly much more storage space.

Status: Permanent or Temporary.Many grids created in ArcGIS are stored as temporary files and are subject to be erased automatically. A temporary grid can be saved as a permanent grid by right-clicking on the layer name and then on Make Permanent

Grid Properties

Page 8: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

8510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tValue Attribute Table

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

• Value Attribute Tables (VATs) are tables associated with grids which have two fields: Value and Count. The Value field lists all values found in the grid and the Count field lists the number of cells that have that value.

• Only Integer grids have VATs.

• VATs are created automatically for Integer grids with less than 500 unique values or with a range of values that does not exceed 100,000.

Page 9: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

9510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tAnalysis Extent and Cell Size

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

• Analysis Extent and Cell Size are defined for a Data Frame.

• To define the Analysis Extent and Cell Size click on Spatial Analyst/Options and then on the Extent or Cell Size tabs.

• The Analysis Mask flags the cells – within the Analysis Extent – where grid values are calculated. Outside the mask, grid cells are assigned NODATA.

• Analysis Extent defines the size of the grid rectangle.

Page 10: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

10510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tAnalysis Properties

• Analysis Cell Size defines the length of the cell side.

• The Number of Rows and Number of Columns are redundant if the Analysis Extent and Cell Size have been defined already.

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

If all the grids of a data frame have to be aligned and with their cells coinciding exactly, the analysis Extent and Cell Size must be set before any grids are created.

Page 11: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

11510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tFeature-to-Raster Conversion

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

• Point-to-grid: Each point is converted into the grid cell

where it is located. The cell value is a user-selected attribute of the point feature class.

If two points coincide in the same cell, one is chosen randomly for the cell value. Coincidence of two or more points within a cell might reflect inconsistency between the resolution of the grid and point dataset.

To convert a point dataset into a grid, click on Spatial Analyst/Convert/ Features to Raster in the Spatial Analyst toolbar.

Page 12: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

12510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tFeature-to-Raster Conversion

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

• Line-to-grid: Each line is converted into the grid cells with

which it intersects. The cell value is a user-selected attribute of the line dataset.

If two lines coincide in the same cell, one is chosen randomly for the cell value.

To convert a line dataset into a grid, in the Spatial Analyst toolbar click on Spatial Analyst/Convert/ Features to Raster.

Page 13: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

13510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Vector-to-Raster ConversionPolygon-to-grid:

Each polygon is converted into the grid cells whose centroid it contains. The cell value is a user-selected attribute of the polygon dataset.

If two polygons coincide in the same cell (overlap), one is chosen randomly for the cell value.

To convert a polygon dataset into a grid, click on Spatial Analyst/ Convert/Features to Raster in the Spatial Analyst toolbar.

Page 14: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

14510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tRaster-to-Feature Conversion

Raster-to-polygon:All adjacent cells (i.e., share a side) with the same value are aggregated into a single polygon.

Grids have to be Integer grids.

The cell value is stored in an attribute Grid_Code of the polygon dataset.

Polygon outlines are smoothed to avoid jagged edges.

To convert a polygon dataset into a grid, click on the Spatial Analyst/ Convert/Raster to Features in Spatial Analyst toolbar.

Department of «Geodesy and Geoinformatics» Tajik Agrarian University named after Sh. Shotemur .Mirzoev M.M.

Page 15: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

15510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tRaster Functions

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Raster functions create output grids using input grids as arguments.

Raster functions are classified into:Local functionsFocal functionsZonal functionsGlobal functions

Page 16: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

16510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tLocal Functions

The value of an output grid cell depends on the value of the cells of the input grids that have the same location. Neighbor cells have no influence on the output values.

Local functions can have one or many input grids as arguments.

Output

Inpu

t

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

Page 17: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

17510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tFocal Functions

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

The value of an output grid cell depends on the value of the cells of the input grids in the neighborhood.

The neighborhood can be defined in different ways.

Focal functions usually have one input grid as argument, but could have more than one. Ou

tput

Inpu

t

Page 18: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

18510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tZonal Functions

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

The value of an output grid cell depends on the value of the cells of the input grids of the same zone.

A zones grid has to be one of the function arguments.

Besides the zones grid, zonal functions usually have only one input grid as argument, but could have more than one.

Output

Inpu

t

Page 19: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

19510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

tGlobal Functions

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.

The value of an output grid cell depends on the value of all the cells of the input grids.

Global functions usually have one input grid as argument, but could have more than one. Ou

tput

Inpu

t

Page 20: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

20510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

Assignment

Create a vector data according raster data

To conversion vector map to raster

To generate map layout

To write a report (2-3 page)

Page 21: Module_6: Spatial Analysis

MSc in Geoinformatics – Managing Energy, Resources, EnvironmentTeacher Training Dushanbe, 25.9. – 1.10.2011

21510978-TEMPUS-1-2010-1 This project has been funded with support from the European Commission. This document reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

msc

-gem

.zgi

s.ne

t

?

Department of «Geodesy and Geoinformatics» Tajik Agrarian Universitynamed after Sh. Shotemur .Mirzoev M.M.