222
Getting Started with JGRASS & GIS Silvia Franceschi Alighiero&Boetti Map Of The World 1989 Friday, September 10, 2010

4 introduction to uDig

Embed Size (px)

DESCRIPTION

This introduces the Open Source GIS JGrass. Other useful tools are the udig Walkthrough -1 and 2 from the udig site, and obviously the main resources are on www.jgrass.org. Other presentations about JGrass are available from slideshare. Serach them!

Citation preview

Page 1: 4   introduction to uDig

Getting Started with JGRASS & GIS

Silvia Franceschi

Ali

gh

iero

&B

oet

ti M

ap O

f T

he

Worl

d 1

98

9

Friday, September 10, 2010

Page 2: 4   introduction to uDig

“Free Software ... you should think of ‘free’ as in ‘free speech,’ not as in “free beer.””

Richard Stallman

Friday, September 10, 2010

Page 3: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Objectives

3

Friday, September 10, 2010

Page 4: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

InstallationJGrass can be installed on all operating systems in which Java Virtual Machine is active: windows linux macOSX

JGrass can be freely downloaded from the website:

www.jgrass.org

There are two types of installation:installation using the complete version of JGrassinstallation as a uDig plugin 4

Friday, September 10, 2010

Page 5: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Installation of the Complete Version

The complete version of JGrass is only released for particular projects or for events such as the current

JGrass_foss4g

To install just click on the executable file and install JGrass in the desired location.

With this version GRASS tools are also supplied ready for execution.

5

Friday, September 10, 2010

Page 6: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

The JGrass uDig plugin can only be installed after the installation of uDig.Download the recommended version of uDig from http://udig.refractions.net/download/Install uDig following the on-screen instructionsSelect from the menu Help -> Find and Install...

6

Installation as a uDig Plugin

Friday, September 10, 2010

Page 7: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Select to install new features and follow the on-screen instructions.Select JGrass from the features to install.

7

Installation as a uDig Plugin

Friday, September 10, 2010

Page 8: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

8

Installation as a uDig Plugin

Friday, September 10, 2010

Page 9: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

9

Installation as a uDig Plugin

Friday, September 10, 2010

Page 10: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

10

Installation as a uDig Plugin

Friday, September 10, 2010

Page 11: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

11

Installation as a uDig Plugin

Friday, September 10, 2010

Page 12: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

12

Installation as a uDig Plugin

Friday, September 10, 2010

Page 13: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

•The installation of JGrass in uDig adds three new menus to the menubar:

- Horton Machine

- JGrass

- GRASS

13

Installation as a uDig Plugin

Friday, September 10, 2010

Page 14: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

14

Installation as a uDig Plugin•The installation of JGrass in uDig adds three new menus to the menubar:

- Horton Machine

- JGrass

- GRASS

•And two new icons to the toolbar:− open the scripting editor− define a work region

Friday, September 10, 2010

Page 15: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Just as with JGrass, it is possible to install the Axios extension as a plugin in uDig or in JGrass. This adds tools for editing and modification of vector data (shp) to the GIS.

15

Installation as a uDig Plugin

Friday, September 10, 2010

Page 16: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Description of the Work Environment

PROJECT VIEW

16

Friday, September 10, 2010

Page 17: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

PLAN VIEW

17

Description of the Work Environment

Friday, September 10, 2010

Page 18: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

MAP VIEW

18

Description of the Work Environment

Friday, September 10, 2010

Page 19: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

CATALOGUE, ATTRIBUTES TABLE,...

19

Description of the Work Environment

Friday, September 10, 2010

Page 20: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Data Viewing

In JGrass-uDig it is possible to view georeferenced data in either RASTER format or VECTOR format.

For the vector data the uDig features are used.

Further information on this (personalised viewing, network viewing of the data,...) can be found in the two manuals:

http://udig.refractions.net/confluence/display/EN/Walkthrough+1http://udig.refractions.net/confluence/display/EN/Walkthrough+2

For the raster data the features of both systems are used depending on the type of data being viewed.

20

Friday, September 10, 2010

Page 21: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Creation of a New ProjectThe creation of a new project from imported data is automatic in uDIG. However, it is advisable to be coherent and ordered in the management of data by creating a new PROJECT where the desired MAPS can be stored.

21

Friday, September 10, 2010

Page 22: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Project Name

22

Creation of a New Project

Friday, September 10, 2010

Page 23: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Location where new project will be saved

23

Creation of a New Project

Friday, September 10, 2010

Page 24: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Overview for Data Viewing

•uDig and JGrass work with Drag&Drop logic: all data can be

viewed simply by dragging them into the programme.

•Alternatively, the file can be dragged from Explorer onto:

•catalog: the plan is added to the catalogue but not viewed

•map: the plan is viewed and added on top of all viewed plans

•plan: the plan can be added at any point in the list of active

plans

•project: the plan is added to the open project

24

Friday, September 10, 2010

Page 25: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

To view a shapefile, from the family of shapfile files, select the file with .shp extension.Select the file in the computer’s Explorer and drag it to the Catalog of JGrass.Select the Catalogue tab and, with a right-click, select “Add to New Map”.Alternatively, it is possible simply to drag the file into the Map view.

25

Overview for Vector Data

Friday, September 10, 2010

Page 26: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Overview for Vector Data

26

Friday, September 10, 2010

Page 27: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

27

Overview for Vector Data

Friday, September 10, 2010

Page 28: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

28

Overview for Vector Data

Friday, September 10, 2010

Page 29: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

29

Overview for Vector Data

Friday, September 10, 2010

Page 30: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

30

Overview for Vector Data

Friday, September 10, 2010

Page 31: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Movement of the plans up and downModifying the view styleManaging the transparency between plansViewing the entire plan

31

Overview for Vector Data

Friday, September 10, 2010

Page 32: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Tools for feature selectionQueriesEditing vector plans

32

Overview for Vector Data

Friday, September 10, 2010

Page 33: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Map navigation toolsZooming and panning

33

Overview for Vector Data

Friday, September 10, 2010

Page 34: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Raster data in image format (TIFF, JPG) can be viewed in JGrass-uDig in the same way as vector data.This data type, however, cannot be modified from within the programme. Its sole purpose is that of base cartographic reference.

34

Overview for Raster Data

Friday, September 10, 2010

Page 35: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

35

Overview for Raster Data

Friday, September 10, 2010

Page 36: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

In JGrass, data must be organised and grouped according to a precise logic:DATABASE: a working directory on the hard disk where all data used and processed by JGrass for the various projects are stored.LOCATION: physically, this is a directory in the file system where information relative to the coordinate and projection system for the data is stored.MAPSET: physically, this too is a directory within the Location. It represents the JGrass workspace where the actual data are stored.

36

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 37: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

37

JGRASS: Raster Data Analysis

Immagine non modificabile.

Friday, September 10, 2010

Page 38: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

The data structure within JGrass is completely managed by the programme. The user only needs to define the DATABASE directory and the names of the LOCATIONS when these are created.The creation of a new Location is done from the menubar:

File -> New -> Other

38

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 39: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

39

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 40: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Pathname of the JGrass database

40

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 41: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Name of the new Location to be created

41

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 42: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Choice of Projection System

42

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 43: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

43

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 44: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

44

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 45: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Name of new Mapset

defined here

Click ‘add’ to create a new Mapset

45

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 46: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Drag the “.jgrass” file from the Location to the JGrass catalog

46

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 47: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

47

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 48: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Type of data that can be imported directly into

JGrass

48

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 49: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Reset updates the list of maps in the Mapset

49

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 50: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

To view data from the JGrass Mapset it is advisable to create a new map. In this way the projection information is managed in the best way.Currently, vector data and raster images are projected “on the fly”. But the support for the re-projection of JGrass raster data is currently being developed.

Select, with a right-click on the name of the imported map, “Add to New Map”.

50

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 51: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

51

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 52: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

An important concept in raster analysis is that of Active Region and Work Region.The Active Region represents the portion of area where all calculations will be carried out. That is to say the area where the GRASS-JGrass tools will work. In order to view the Active Region it must be dragged into the Map View from:

Catalog -> Map Graphics -> Active Region Graphic

52

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 53: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

An important concept in raster analysis is that of Active Region and Work Region.The Active Region represents the portion of area where all calculations will be carried out. That is to say the area where the GRASS-JGrass tools will work. In order to view the Active Region it must be dragged into the Map View from:

Catalog -> Map Graphics -> Active Region Graphic

52

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 54: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

If, in the Catalog, more than one Location has been loaded, or there are more than one Mapaset for a Location, it will be necessary to indicate to the programme which of the datasets to work with by selecting the Mapset from the appropriate dialog box.

53

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 55: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

The Active Region is viewed, by default, as a white area on a green background.All the analyses carried out with the GRASS-JGrass

commands are only done on the Active Region and at its resolution.

Therefore, if there are no data in the white area, or if all the data are covered in green, then these data will not be processed.

54

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 56: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

55

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 57: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

To modify the extension of the Active Region or the various options associated with it you can use:

the style editor button, starting by selecting the plan that represents the Active Regionthe icon in the toolbar: this will only modify the extension of the Active Region but not its resolution

56

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 58: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

57

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 59: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

58

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 60: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Click Apply twice!!!

59

JGRASS: Raster Data Analysis

Friday, September 10, 2010

Page 61: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

JGRASS: Work Environment Settings

The correct execution of JGrass requires the definition of two items:

Working Mapset: this is the Mapset that contains the data that is to be analysed (-> the Active Region that will be used during analysis is the one relative to the selected Mapset) ‏pathname for the GRASS tools: this is not necessary if you are only using native JGrass tools. It is indispensable, however, if you wish to use GRASS tools. Specifically, it refers to the GRASS installation pathname on your computer. With the complete version of JGrass the GRASS tools are included in the JGrass installation directory, and this is the directory to specify. In all other cases a separate installation of GRASS on your computer is required.

60

Friday, September 10, 2010

Page 62: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

61

JGRASS: Work Environment Settings

Friday, September 10, 2010

Page 63: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

JGRASS: General Tools

62

Friday, September 10, 2010

Page 64: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Friday, September 10, 2010

Page 65: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Objectives:

64

Friday, September 10, 2010

Page 66: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It has been developed with the purpose of proposing some quantitative and qualitative tools for the study of catchment morphology.

• Its main applications have been to alpine catchments of various dimensions (from a few Km2 to some hundreds of Km2)

• Applications have been made with different types of DEM (IGM 20m, PAT 10m, LaserAltimetriv 2m)

HORTON MACHINE: THE PURPOSE

65

Friday, September 10, 2010

Page 67: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The starting hypothesis is:

HORTON MACHINE: OUR WORK

MORPHOMETRY EROSION PROCESSES

Based on this hypothesis, the purpose of the work is to analyse the erosion processes, the incision processes of the network, and the possibility of landslides. This is done by considering that the main geomorphological processes in a catchment are:

• Diffusive erosion on the hillslopes

• Network incision processes

• Landslides

• Sediment transport in the channels

66

Friday, September 10, 2010

Page 68: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

HORTON MACHINE: THE HISTORY

• Initially, the Horton Machine was a package of stand alone routines independent of an operating system, written in C using the FluidTurtle libraries and their input/output defined formats. The viewing of the calculated matrices was done with other graphical programs or with Mathematica;

• The second step was to integrate these routines into GIS-GRASS so as to have a direct graphical interface in TkTcl;

• Now, with the development of JGrass, these routines are being rewritten in Java and completely integrated into the new GIS system with a new development model (OpenMI) and new graphical interface.

67

Friday, September 10, 2010

Page 69: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation

HORTON MACHINE:

68

Friday, September 10, 2010

Page 70: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes

HORTON MACHINE:

69

Friday, September 10, 2010

Page 71: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes•Network related measures

HORTON MACHINE:

70

Friday, September 10, 2010

Page 72: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes•Network related measures•Hillslope analyses

HORTON MACHINE:

71

Friday, September 10, 2010

Page 73: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes•Network related measures•Hillslope analyses•Basin attributes

HORTON MACHINE:

72

Friday, September 10, 2010

Page 74: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes•Network related measures•Hillslope analyses•Basin attributes•Statistic

HORTON MACHINE:

73

Friday, September 10, 2010

Page 75: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The tools are divided in 7 categories:

•DEM manipulation•Basic topographic attributes•Network related measures•Hillslope analyses•Basin attributes•Statistic•Hydro-geomorphology

HORTON MACHINE:

74

Friday, September 10, 2010

Page 76: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The topography is represented by a bivariate continuous function z = f(x,y) with continuous derivative up to the second order almost everywhere.

MORPHOLOGY

75

Friday, September 10, 2010

Page 77: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The representation of data on a regular rectangular constitutes the most common and most efficient form in which the digital terrain data can be found.

DEM HYPOTHESIS:

•data are significant

•regular squared grid

•8 direction topology

DIGITAL ELEVATION MODELS (D.T.M.) ‏

In this raster form the data is usually made by reporting the vertical coordinate, z, for a subsequent series of points, along an assigned regular spacing profile.

76

Friday, September 10, 2010

Page 78: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONS

77

Friday, September 10, 2010

Page 79: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONSimport the starting DEM, which is to be

analysed, into JGrass

77

Friday, September 10, 2010

Page 80: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONSimport the starting DEM, which is to be

analysed, into JGrass

define the working region

77

Friday, September 10, 2010

Page 81: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONSimport the starting DEM, which is to be

analysed, into JGrass

pit detection

define the working region

77

Friday, September 10, 2010

Page 82: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONS

definition of the drainage directions

D8 (maximum slope) ‏

D8 with correction(correction on the direction

of the gradient) ‏

import the starting DEM, which is to be analysed, into JGrass

pit detection

define the working region

77

Friday, September 10, 2010

Page 83: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONS

definition of the drainage directions

D8 (maximum slope) ‏

D8 with correction(correction on the direction

of the gradient) definition of the main network‏

import the starting DEM, which is to be analysed, into JGrass

pit detection

define the working region

77

Friday, September 10, 2010

Page 84: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONS

definition of the drainage directions

D8 (maximum slope) ‏

D8 with correction(correction on the direction

of the gradient) ‏

identification of the existing sub catchments

definition of the main network

import the starting DEM, which is to be analysed, into JGrass

pit detection

define the working region

77

Friday, September 10, 2010

Page 85: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

PRELIMINARY OPERATIONS

extraction of the catchment of interest

definition of the drainage directions

D8 (maximum slope) ‏

D8 with correction(correction on the direction

of the gradient) ‏

identification of the existing sub catchments

definition of the main network

import the starting DEM, which is to be analysed, into JGrass

pit detection

define the working region

77

Friday, September 10, 2010

Page 86: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

DERIVED ATTRIBUTES:

• Local Slope (h.slope)‏

• Local Curvature (h.curvatures or h.nabla)‏

• Total Contributing Area (h.tca, h.multitca) ‏

• Catchment Divide Distance (h.hacklength)‏

• Distance to Outlet (h.distance2outlet) ‏

………..

78

Friday, September 10, 2010

Page 87: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FIRST STEP: DEPITTING THE DEM

The first necessary operation is to fill the depression points that are present within a DEM so that the drainage directions can be defined in each point.

Observations on this topic demonstrate that this calculation addresses fewer than 1% of the data: usually these depressions are present because of wrong calculations during the DEM creation phase and are not, in fact, real depressions in the terrain.

The command used to fill the depressions is:

h.pitfiller

This tool is based on the Tarboton algorithm.

79

Friday, September 10, 2010

Page 88: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.pitfiller

Fills the depressions in the DEM according to the Tarboton algorithm.

80

Friday, September 10, 2010

Page 89: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONSFlow directions define how water moves along the surface in relation to the topology of the study region. From the flow directions it is possible to calculate the drainage directions.

Hypothesis: each DEM cell only drains to one of its 8 neighbours, either adjacent or diagonal, in the direction of the steepest downward slope.

only 8 possible directions in which the flow can be directed

this is a limitation of the model representation with respect to the

real natural flow81

Friday, September 10, 2010

Page 90: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.flowdirections

This tool calculates the flow direction on the basis of the steepest downward slope, assigning to each DEM cell one of its 8 neighbours.

The flow directions numbering convention numbers from 1 to 8 in an anticlockwise direction with 1 being east.

82

Friday, September 10, 2010

Page 91: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

In the map each colour represents one of the 8 drainage directions. The

image also shows the flow directions numbering

convention. 83

Friday, September 10, 2010

Page 92: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 93: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 94: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 95: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 96: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 97: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 98: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 99: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 100: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 101: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

FLOW DIRECTIONS

84

Ho cambiato la direzione di alcune frecce qui a lato: da controllare!

Friday, September 10, 2010

Page 102: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

A CORRECTION TO THE PURE D8 METHOD

Using the “pure” D8 method, the drainage directions that are estimated deviate from the real drainage direction as identified by the gradients.

The “corrected” algorithm calculates the drainage direction minimising the deviation of these from the real flow direction. The deviation is calculated from the pixels at the highest elevations and carried through going downstream.

The deviation is calculated with a triangular construction and can be expressed either as angular deviation (method D8-LAD) or as transversal distance (method D8-LTD) .‏

The lambda parameter is used to assign a weight to the correction made to the drainage directions.

This method has been developed by S. Orlandini

85

Friday, September 10, 2010

Page 103: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.draindir

LAD method:

angular deviation check on alpha

LTD method:

transversal deviation check on delta

The deviation is cumulated from up-hill pixels. The D8 drainage direction is redirected to the real direction when the value of deviation is larger than an assigned threshold.

If λ = 0 the deviation counter has no memory and the up-hill p i x e l s d o n o t a f f e c t t h e calculation. 86

Friday, September 10, 2010

Page 104: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE NEW DRAINAGE DIRECTIONS &THE NEW TCA

STANDARD METHOD

87

What is TCA?Total Contributing Area, ma non si vede fino alla diapositiva 98.

Friday, September 10, 2010

Page 105: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE NEW DRAINAGE DIRECTIONS &THE NEW TCA

STANDARD METHOD

88

Friday, September 10, 2010

Page 106: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE NEW DRAINAGE DIRECTIONS &THE NEW TCA

STANDARD METHOD

89

Friday, September 10, 2010

Page 107: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE NEW DRAINAGE DIRECTIONS &THE NEW TCA

STANDARD METHOD

90

Friday, September 10, 2010

Page 108: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE NEW DRAINAGE DIRECTIONS &THE NEW TCA

STANDARD METHOD

91

Friday, September 10, 2010

Page 109: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.draindir

Map obtained categorising the results of the drainage directions tool

Map obtained personalising the colours of the original map

92

What does the 10 value signify - no flow?

Friday, September 10, 2010

Page 110: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.draindirFIXED NETWORK METHOD: in flat areas or where there are manmade constructions, it can happen that the extracted channel network does not coincide with the real channel network.

Fixed network

Extracted network

93

Friday, September 10, 2010

Page 111: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.draindir

FLOW FIXED METHOD

94

Friday, September 10, 2010

Page 112: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Flow fixed map created byh.netshapetoflow from a

shapefile of the network

h.draindirFLOW FIXED

METHOD

95

Friday, September 10, 2010

Page 113: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Fixed network

Extracted network

h.draindir

96

Friday, September 10, 2010

Page 114: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Fixed network

Extracted network

h.draindir

97

Friday, September 10, 2010

Page 115: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TOTAL CONTRIBUTING AREA

The Total Contributing Area is precisely this: it represents the total area that contributes to a particular point of the catchment basin.

It is an extremely important quantity in the geomorphological and hydrological study of a river catchment: it is strictly related to the flows passing through the different points of the system in uniform precipitation conditions.

Most of the diffusive methods used to extract stream networks from digital models are based on this quantity.

98

Friday, September 10, 2010

Page 116: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

99

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

Friday, September 10, 2010

Page 117: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

100

Friday, September 10, 2010

Page 118: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

100

Friday, September 10, 2010

Page 119: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

100

Friday, September 10, 2010

Page 120: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

101

Friday, September 10, 2010

Page 121: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

101

Friday, September 10, 2010

Page 122: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

101

Friday, September 10, 2010

Page 123: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

1 source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

101

Friday, September 10, 2010

Page 124: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

2

102

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

Friday, September 10, 2010

Page 125: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

2

102

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

Friday, September 10, 2010

Page 126: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

2

102

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

Friday, September 10, 2010

Page 127: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

1 source

2

102

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

Friday, September 10, 2010

Page 128: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

2

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

103

Friday, September 10, 2010

Page 129: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

2

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

103

Friday, September 10, 2010

Page 130: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

2

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

103

Friday, September 10, 2010

Page 131: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

1

3

source

2

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

103

Friday, September 10, 2010

Page 132: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

104

Friday, September 10, 2010

Page 133: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

104

Friday, September 10, 2010

Page 134: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

104

Friday, September 10, 2010

Page 135: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

1

2

3

45678

9

source

TCA

Where Wj is:

• 1 for pixels that drain into the i-th pixel;• 0 in any other case for single flow directions.

104

Friday, September 10, 2010

Page 136: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TCA RESULTS COMPARISONLog(TCA) ‏ Log (LAD-TCA) ‏

The figures compare the total contributing areas calculated with the pure D8 method (left) and with the corrected LAD-D8 method (right). In this latter case the typical maximum steepest parallelisms are not present with a representation of the flow very near to reality. 105

La parte in neretto non l’ho toccata perche’ non mi e’ chiara - da revisionare dall’autore.

Friday, September 10, 2010

Page 137: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.markoutlets

The correct execution of many applications within JGrass requires a matrix of the flow directions that have a new additional class value. This new class (conventionally indicated in JGrass with 10) identifies the basin outlets, i.e. those pixels that drain to outside the analysed region.

The tool that assigns this new class value marks the outlets:

106

Friday, September 10, 2010

Page 138: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.markoutlets

The correct execution of many applications within JGrass requires a matrix of the flow directions that have a new additional class value. This new class (conventionally indicated in JGrass with 10) identifies the basin outlets, i.e. those pixels that drain to outside the analysed region.

The tool that assigns this new class value marks the outlets:

106

Friday, September 10, 2010

Page 139: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

GRADIENTSThe gradients are relevant because the main driving force of the flow is gravity. The gradient identifies the flow directions of the water and also it contributes to determining the flow velocity.It must be observed that the gradient tool, unlike the slope tool, does not use the drainage directions. It calculates only the module of the gradient. The gradient is in reality a vectorial quantity oriented in the direction from minimum potential to maximum potential.

107

Friday, September 10, 2010

Page 140: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.gradients

The sub-surface flow is proportional to the slope while the surface runoff is proportional to the root of the slope. Erosion, and the resulting sediment transport, depend on the gradients of the topographic surface. Furthermore, areas with elevated slope values are generally devoid of soil, being made up of exposed rock.

108

Friday, September 10, 2010

Page 141: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

We can see the deep network incision and the flat area near the basin

outlet.

The obviously wrong calculation in the upper part of the basin is due to the joining of DEMs

that were originally square in shape.

GRADIENTS

109

Friday, September 10, 2010

Page 142: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The gradient calculated with this tool is given as the tangent of the corresponding angle. Using the MAPCALCULATOR it is possible to obtain the map of the gradients expressed in degrees

h.gradient

110

Friday, September 10, 2010

Page 143: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The gradient calculated with this tool is given as the tangent of the corresponding angle. Using the MAPCALCULATOR it is possible to obtain the map of the gradients expressed in degrees

h.gradient

atan(gradient) ‏

110

Friday, September 10, 2010

Page 144: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

This tool estimates the slope in every point by employing the drainage directions. Differently from gradient, slope calculates the drop between each pixel and the adjacent points below. The resulting measure of drop is divided by the pixel length, along its side or its diagonal according to the cases.The greatest value is the one chosen as slope.

SLOPE

111

Non e’ chiaro qui da quale gruppo viene selezionato il piu’ grande valore.

Friday, September 10, 2010

Page 145: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.slope

112

Friday, September 10, 2010

Page 146: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

CURVATURE

Curvature is a measure of the deviation per unit length of the gradient vector along a curve, f(x,y), marked on the surface under study.The Longitudinal Curvature represents the deviation of the gradient as one moves from upstream to downstream along the envelope of the gradients.The Plan Curvature is what is obtained when the surface is intersected with a plane parallel to the (x,y) plane. It is the variation of the vectors tangent to the contour line passing through the point under study. The Tangential Curvature is determined by the intersection curve defined by a plane perpendicular to the gradient direction and tangent to the contour line at the point.

The tangental and plane curvature are proportional to each other and the spatial distribution is the same.

113

Le definizioni sono da rivedere - l’italiano di partenza non e’ chiarissimo.

Friday, September 10, 2010

Page 147: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE CURVATURES

The mathematical definition is quite complex.

Longitudinal curvature Plan curvature

it represents the deviation of the gradient along the flow

(it is negative if the gradient increases) ‏

it represents the deviation of the gradient along the transversal direction

(i.e. along the contour lines) ‏

it measure the convergence (+) or divergence (-) of the flow

N.B. Convex sites (positive curvature) represent convergent flow, concave sites (negative curvature) represent divergent flow.

114

Convesso --> flussi convergenti?Concavo --> flussi divergenti?

Friday, September 10, 2010

Page 148: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

NORMAL/TANGENTIAL CURVATURE

Negative - convex curvature: this case is typical in slope areas where the flow is subdivided amongst the neighbouring pixels with lower e l e v a t i o n b y m e a n s o f t h e maximum slope.

Locally divergent topography

115

Friday, September 10, 2010

Page 149: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.curvature

116

Friday, September 10, 2010

Page 150: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.curvaturesLongitudinal Curvature Plan Curvature

Plan curvatures separates the concave parts from the convex ones

Longitudinal curvatures highlights the valleys 117

Friday, September 10, 2010

Page 151: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

TOPOGRAPHIC CLASSIFICATIONIt is a means of subdividing the sites of a catchment according to 9 topographic classes defined by the longitudinal and transversal curvatures.

The 9 classes are grouped into 3 fundamental typologies:

•CONCAVE SITES •CONVEX SITES•PLANAR SITES

118

Friday, September 10, 2010

Page 152: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.tc

The program requests the input of the threshold values of the longitudinal and normal curvatures which define their planarity.

THE VALUE IS STRICTLY RELATED TO THE TOPOLOGY119

Friday, September 10, 2010

Page 153: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.tc

This tool produces two different maps as output: one with the 9 topographic classes and the other with the 3 typologies. For the 9 topographic classes the tagging convention is the following:

10 planar – planar sites20 convex – planar sites30 concave – planar sites40 planar – convex sites50 convex – convex sites60 concave – convex sites70 planar – concave sites80 convex – concave sites90 concave – concave sites

120

Friday, September 10, 2010

Page 154: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.tc

The map with the 3 typologies contains an grouping of these topographic classes into the three fundamental typologies:

15 concave sites (classes 30, 70, 90) ‏25 planar sites (classes 10) ‏35 convex sites (classes 20, 40, 50, 60, 80) ‏

121

Friday, September 10, 2010

Page 155: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.tc 9 classes h.tc 3 typologies

h.tc

122

Friday, September 10, 2010

Page 156: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

CHANNEL NETWORK EXTRACTION

3 METHODS ARE IMPLEMENTED

• threshold value on the contributing areas: only the pixels with contributing areas greater than the specified threshold are defined as channel heads‏

• threshold value on the shear stress at the bottom: threshold value assigned to the ratio between the total contributing area and the gradient

• threshold value on the shear stress only in convergent sites

HOW IT WORKS: As soon as the first pixel of the channel network is identified (i.e. the pixel in which the parameter value is greater than the assigned threshold) all the other pixel downstream of it are part of the channel network.

123

Friday, September 10, 2010

Page 157: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.extractnetwork

Threshold on the tca

The threshold depends on:

- dimensions of the pixels

- topographical attributes

1°method

124

Friday, September 10, 2010

Page 158: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The threshold is on the parameter:

which is proportional to the shear stress at the bottom.

The threshold depends on:

- pixels dimensions

- topographical attributes

2°method

h.extractnetwork

Non riesco a leggere l’immagine.

Friday, September 10, 2010

Page 159: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Threshold on the tca of the concave sites.

The threshold depends on:

- pixel dimensions

- topographical attributes

3°method

h.extractnetwork

Friday, September 10, 2010

Page 160: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

In the resulting raster map the network pixels have been assigned the 2 value. Outside the network there are null values.

1°method: threshold on the tca

h.extractnetwork

127

Friday, September 10, 2010

Page 161: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

2°method: threshold on the product between the

tca and the gradient

h.extractnetwork

128

Friday, September 10, 2010

Page 162: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

3°method: threshold on the tca in the concave

pixels

In this case there are various groups of stream networks, each one of which corresponds to a catchment.

h.extractnetwork

129

Friday, September 10, 2010

Page 163: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

EXTRACTION OF THE WORKING CATCHMENT• first, define the catchment outlet:

•insert the known coordinates of the point•use the Query raster tool to select a point directly on the network map and verify that it is on the network (i.e. has a value of 2). •the coordinates of this point will be copied to the clipboard•use the coordinates of the selected outlet in the h.wateroutlet command

130

Friday, September 10, 2010

Page 164: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

JGrass generates two maps:

• the mask of the extracted catchment

• a chosen map cut on the mask

h.wateroutlet

131

Friday, September 10, 2010

Page 165: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.wateroutlet

132

Friday, September 10, 2010

Page 166: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

‣ h.pitfiller

‣ h.flowdirection

‣ h.draindir

‣ h.wateroutlet

‣ h.gradient

‣ h.curvatures

‣ h.tc

‣ h.extractnetwork

MORPHOLOGICAL ANALYSIS OF A CATCHMENT

The first step is to execute all the commands seen so far, but only to the extracted catchment. An alternative method would be to cut the existing maps along the mask of the extracted catchment using the mapcalculator command.

133

Friday, September 10, 2010

Page 167: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

‣ drainage directions‣ total contributing area‣ extracted network‣ gradient‣ curvatures‣ topographic classes‣ slope

The best thing to do is to cut the original maps along the mask of the extracted catchment. The maps to cut are the following:

134

MORPHOLOGICAL ANALYSIS OF A CATCHMENT

Friday, September 10, 2010

Page 168: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It calculates the drainage area per unit length (A/b), where A is the total upstream area and b is the length of the contour line which, it is assumed, drains area A. The l e n g t h o f t h e c o n t o u r affected is estimated by a novel method based on curvatures.

h.ab

135

Friday, September 10, 2010

Page 169: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It calculates the drainage area per unit length (A/b), where A is the total upstream area and b is the length of the contour line which, it is assumed, drains area A. The l e n g t h o f t h e c o n t o u r affected is estimated by a novel method based on curvatures.

h.ab

135

Friday, September 10, 2010

Page 170: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.ab

The stream network pixels are concave sites.

• concave sites convergent sites• convex sites divergent sites

The contour line is locally approximated to an arc with radius inversely

proportional to the local planar curvature

b ~ t'

136

Friday, September 10, 2010

Page 171: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.ab

137

Friday, September 10, 2010

Page 172: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The higher values of A/b are registered on or near the channel network.

In fact, these are the points for which the contributing area is the highest and the value of b is the lowest.

THE RESULT OF A/b

138

Friday, September 10, 2010

Page 173: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE RESULT OF A/b CHANGING THE COLOURMAP

139

Friday, September 10, 2010

Page 174: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

ASPECT

The aspect is defined as the inclination angle of the gradient. The conventional reference system puts the angle to zero when the gradient is orientated towards east and it grows in an anticlockwise direction.

The angle is calculated in radians.

Mathematically, aspect is defined by the following formula:

140

Friday, September 10, 2010

Page 175: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.aspect

141

Friday, September 10, 2010

Page 176: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.aspect

142

Friday, September 10, 2010

Page 177: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.aspect

143

Friday, September 10, 2010

Page 178: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.aspect

144

Friday, September 10, 2010

Page 179: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

N.B. Concave sites (positive curvature) imply converging flows, convex sites (negative curvature) imply diverging flows.

The laplacian is a close relative of the curvatures and gives a way to distinguish, in a first iteration, convex sites from concave sites within the catchment.

Mathematically, the laplacian is defined as:

THE LAPLACIAN

145

Nota a pie di pagina contrasta con quella di slide 114 - questa mi sembra giusta, da controllare.

Friday, September 10, 2010

Page 180: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Digital terrain data do not return reliable curvature values. On the other hand, the sign of the laplacian is sufficiently correct.

h.nabla

146

Friday, September 10, 2010

Page 181: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

convex element

flat element

concave elementPositive curvature

Negative curvature

Null curvature

DEFINITIONS OF CURVATURES

147

Friday, September 10, 2010

Page 182: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.nabla

148

Friday, September 10, 2010

Page 183: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.nabla

149

Friday, September 10, 2010

Page 184: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

This tool subdivides the sites of a catchment into 11 topographical classes. Nine of these classes are those obtained with TC.

h.gc

150

Friday, September 10, 2010

Page 185: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It subdivides the sites of a catchment into 11 topographical classes: nine of these classes are those obtained with TC;the points belonging to the channel networks constitute a tenth class

(derived from use of the ExtraNetwork command)the points with high slope values (higher than a critical value)

constitute an eleventh class.

h.gc

151

Friday, September 10, 2010

Page 186: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It subdivides the sites of a catchment into 11 topographical classes: nine of these classes are those obtained with TC;the points belonging to the channel networks constitute a tenth class

(derived from use of the ExtraNetwork command)the points with high slope values (higher than a critical value)

constitute an eleventh class.

h.gc

151

Friday, September 10, 2010

Page 187: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.gc

The reclassification of the topological classes is: 15 non-channel valley sites 25 planar sites 35 channel sites 45 hillslope sites 55 unconditionally unstable sites

152

Friday, September 10, 2010

Page 188: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE HACK LENGTH

It is given, assigned a point in the catchment, by the projection of the distance from the catchment divide along the network (while it exists), and then, proceeding upstream along the lines of maximum slope.

For each network confluence, the direction of the tributary with the greater contributing area is chosen. If the tributaries have the same area, one of the two directions is chosen randomly.

153

Friday, September 10, 2010

Page 189: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

THE HACK LENGTH

It is given, assigned a point in the catchment, by the projection of the distance from the catchment divide along the network (while it exists), and then, proceeding upstream along the lines of maximum slope.

For each network confluence, the direction of the tributary with the greater contributing area is chosen. If the tributaries have the same area, one of the two directions is chosen randomly.

153

Friday, September 10, 2010

Page 190: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.hacklentgh

154

Friday, September 10, 2010

Page 191: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The magnitudo of a point is defined as the number of sources upstream to that point. It can be defined for every point of the catchment.

If the river network is a trifurcated tree (a node in which three channels enter and one exits), then there is a bijective correspondence between the number of sources, or springs, and the number of channels, defined as follows:

hc = 2ns − 1

hc is the number of channels

ns the number of sources

The mangitudo is also an indicator of the contributing area.155

MAGNITUDO: h.magnitudo

Friday, September 10, 2010

Page 192: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

MAGNITUDO: h.magnitudo

156

Friday, September 10, 2010

Page 193: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

NETNUMBERING

This tool assigns numbers to the network connections.

It can be used by the hillslope2channelattribute tool to label the hillslopes that are contributing to a section of the network with the same connection number.

Hence, it subdivides the basin into the hillslope areas that contribute to each connection.

157

Please review; original English version not very clear.

Friday, September 10, 2010

Page 194: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

SUB-CATCHMENT EXTRACTION: h.netnumberingThe sub-catchments depend on the complexity of the network:a complex network has a large number of sub-catchmentsa simple network has a small number of sub-catchments

158

Friday, September 10, 2010

Page 195: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

159

SUB-CATCHMENT EXTRACTION: h.netnumberingThe sub-catchments depend on the complexity of the network:a complex network has a large number of sub-catchmentsa simple network has a small number of sub-catchments

Friday, September 10, 2010

Page 196: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

DISTANCE FROM THE NETWORK

This tool evaluates the distance of every pixel in the catchment from the network. It can work in 2 different ways:

160

Friday, September 10, 2010

Page 197: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.hillslope2channeldistance

161

Friday, September 10, 2010

Page 198: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.hillslope2channeldistance

• calculates the distance in pixels• calculates the distance in metres

161

Friday, September 10, 2010

Page 199: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

h.hillslope2channeldistance

• calculates the distance in pixels• calculates the distance in metres

161

Friday, September 10, 2010

Page 200: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

This tool calculates the distance, as projected onto the plane, of each pixel from the outlet, measured along the drainage directions.

It can work in two ways: it can calculate the distance from the outlet either in number of pixels (0:topological distance mode), or in metres (1:simple distance mode).

162

DISTANCE TO THE OUTLET

Friday, September 10, 2010

Page 201: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It calculates the rescaled distance of each pixel from the outlet. This distance is defined as:

x0 = xc + rxh

where: xc is the distance along the channels,

r = c/ch is the ratio between

c, the speed in the channel state, and

ch, the speed on the hillslopes

xh the distance along the hillslopes.

163

DISTANCE TO THE OUTLET

Friday, September 10, 2010

Page 202: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

Distances to outlet map for a simple channel network

Distances to outlet map with different velocities in channels and

hillslopes 164

DISTANCE TO THE OUTLET

Friday, September 10, 2010

Page 203: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

ANALYSIS OF THE VALUES OF A MAP: h.cb

165

Friday, September 10, 2010

Page 204: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

calculates the histogram of the values of a map with respect to those contained in another map

the data of the first map are grouped into a pre-fixed number of intervals and the average value of the independent variable is calculated in each interval

to each interval there corresponds a set of values in the second map for

which the average is calculated, as well as any other statistical moments

requested by the user

the output of this tool is a file, not a map

166

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 205: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

maps on which calculation should be carried out: the second map can be the same as the first

167

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 206: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

statistical moments to be caculated: average, variance, ...

168

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 207: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

number of intervals in which to divide the range of values of the first map

169

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 208: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

type and pathname of the output file

170

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 209: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

it is possible to select to view the output data either in graph or table format

171

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 210: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

172

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 211: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

it is possible to edit the graph and save it by right-clicking on the image and selecting the required operation

173

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 212: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

The complete h.cb output file contains: the number of pixels from the first map contained in an interval the average value of the values of the first map contained in each

interval the average value of the values of the second map contained in

each interval the variance of the values of the second map in each interval moments of higher order calculated for the values of the second

map

174

ANALYSIS OF THE VALUES OF A MAP: h.cb

Friday, September 10, 2010

Page 213: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

It expresses the tendency of pixel to become saturated

Areas with elevated values of the topographic index become saturated

before areas with lower values of the topographic index

It depends only on the morphology

It is proportional to the ratio of cumulated contributing area at the

pixel and slope

175

TOPOGRAPHIC INDEX

Friday, September 10, 2010

Page 214: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

176

TOPOGRAPHIC INDEX: h.topindex

Friday, September 10, 2010

Page 215: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

177

TOPOGRAPHIC INDEX: h.topindex

Friday, September 10, 2010

Page 216: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

178

TOPOGRAPHIC INDEX: h.topindex

Friday, September 10, 2010

Page 217: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

179

TOPOGRAPHIC INDEX: h.topindex

Friday, September 10, 2010

Page 218: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

there are some areas within the catchment where the topographic index is not defined

these are the areas with zero slope where, as a consequence, the ratio of

cumulative contributing area over slope tends to infinity

pixels with a small slope have a higher tendency to saturation than

pixels with a high slope under similar conditions of contributing area

the pixels with the lowest value of the topographic index are assigned

the highest characteristic value of the map

if(mybasin ,if(isnull(mybasin_topindex ),17.8,mybasin_topindex ) ,null

() )

180

TOPOGRAPHIC INDEX: h.topindex

stringa di codice ????

Friday, September 10, 2010

Page 219: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

181

TOPOGRAPHIC INDEX: h.topindex

Friday, September 10, 2010

Page 220: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

NUMBERING THE NETWORK: h.strahler

It calculates the Strahler order of the basin. There are two possibilities:

λ calculate the Strahler order for the entire basinλ calculate the Strahler order only for the network

182

Friday, September 10, 2010

Page 221: 4   introduction to uDig

Geomorphological Analysis in JGRASS: the Horton Machine Package

Silvia Franceschi

EUCLIDEAN DISTANCE: h.dist_euclidea

It calculates the euclidean distance of each pixel from the outlet of the

basin which contains it.

The flow directions map needed here is the one with the outlet marked.

183

Friday, September 10, 2010

Page 222: 4   introduction to uDig

Silvia Franceschi

Getting Started with JGRASS and GIS

Thank you for your attention.

G.U

lric

i -

Uom

o d

op

e av

er l

avora

to a

lle

slid

es ,

20

00

?

Friday, September 10, 2010