New trends in GRASS GIS Martin Landa MPBA group, FBK-irst, - - PowerPoint PPT Presentation

new trends in grass gis
SMART_READER_LITE
LIVE PREVIEW

New trends in GRASS GIS Martin Landa MPBA group, FBK-irst, - - PowerPoint PPT Presentation

III. Workshop Open Source, Free Software e Open Format nei processi di ricerca archeologica New trends in GRASS GIS Martin Landa MPBA group, FBK-irst, Trento landa.martin@gmail.com Padua, Italy, 8-9 May 2008 Open Archaeology, 8-9


slide-1
SLIDE 1

Open Archaeology, 8-9 May 2008, Padua, Italy

  • III. Workshop Open Source, Free Software e Open Format nei

processi di ricerca archeologica

— New trends in GRASS GIS —

Martin Landa MPBA group, FBK-irst, Trento

landa.martin@gmail.com Padua, Italy, 8-9 May 2008

1 / 30

slide-2
SLIDE 2

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

2 / 30

slide-3
SLIDE 3

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

3 / 30

slide-4
SLIDE 4

Open Archaeology, 8-9 May 2008, Padua, Italy

Welcome to GRASS GIS

4 / 30

slide-5
SLIDE 5

Open Archaeology, 8-9 May 2008, Padua, Italy

Brief introduction

◮ Developed since 1982 by U.S. Army CERL (till 1995), since

1999 under GNU GPL

◮ International development team, very large code-base (approx.

500 000 lines), mostly written in ANSI-C programming language, portable code

◮ Official project of the Open Source Geospatial Foundation,

http://www.osgeo.org http://grass.osgeo.org http://grass.osgeo.org/wiki

5 / 30

slide-6
SLIDE 6

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS – multiplatform desktop GIS

GNU/Linux (wxGUI, 2008/02)

6 / 30

slide-7
SLIDE 7

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS – multiplatform desktop GIS

Mac OS (wxGUI, 2007 by Michael Barton)

6 / 30

slide-8
SLIDE 8

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS – multiplatform desktop GIS

MS Windows (wxGUI, 2008/03)

6 / 30

slide-9
SLIDE 9

Open Archaeology, 8-9 May 2008, Padua, Italy

Basic characteristics

◮ Native 2D/3D raster support ◮ Supports various external raster/vector formats via

GDAL/OGR

◮ More than 180 modules for raster/image processing ◮ Terrain analysis (slope, aspect), . . .

7 / 30

slide-10
SLIDE 10

Open Archaeology, 8-9 May 2008, Padua, Italy

Basic characteristics

◮ Native 2D/3D raster support ◮ Supports various external raster/vector formats via

GDAL/OGR

◮ More than 180 modules for raster/image processing ◮ Terrain analysis (slope, aspect), . . . ◮ Native 2D/3D topological vector support ◮ Support for DXF files (v.in.dxf) ◮ More than 100 modules for vector processing ◮ Vector network analysis (e.g. shortest path), . . . ◮ DBMS integrated (dbf, PostgreSQL, MySQL, SQLite)

7 / 30

slide-11
SLIDE 11

Open Archaeology, 8-9 May 2008, Padua, Italy

Basic characteristics

◮ Native 2D/3D raster support ◮ Supports various external raster/vector formats via

GDAL/OGR

◮ More than 180 modules for raster/image processing ◮ Terrain analysis (slope, aspect), . . . ◮ Native 2D/3D topological vector support ◮ Support for DXF files (v.in.dxf) ◮ More than 100 modules for vector processing ◮ Vector network analysis (e.g. shortest path), . . . ◮ DBMS integrated (dbf, PostgreSQL, MySQL, SQLite) ◮ Data visualization (2D/3D+), exporting to Paraview ◮ Localized to many languages (currently 21 ongoing)

7 / 30

slide-12
SLIDE 12

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

8 / 30

slide-13
SLIDE 13

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

9 / 30

slide-14
SLIDE 14

Open Archaeology, 8-9 May 2008, Padua, Italy

Command Line Interface (CLI)

# set computation region to raster map ’roads’ g.region rast=roads # create buffer in distance 100 map units r.buffer input=roads output=roads_100 distances=100 # start graphics display d.mon x0 # display ’roads’ buffer raster map d.rast map=roads_100 # display ’roads’ vector map in green d.vect map=roads color=green

10 / 30

slide-15
SLIDE 15

Open Archaeology, 8-9 May 2008, Padua, Italy

Command Line Interface (CLI)

11 / 30

slide-16
SLIDE 16

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

12 / 30

slide-17
SLIDE 17

Open Archaeology, 8-9 May 2008, Padua, Italy

TCL/TK-based GUI

Motto

While the early decision to first develop GRASS as a command-line system remained good, the need to provide users with a GUI was increasingly difficult to ignore.

13 / 30

slide-18
SLIDE 18

Open Archaeology, 8-9 May 2008, Padua, Italy

TCL/TK-based GUI

Motto

While the early decision to first develop GRASS as a command-line system remained good, the need to provide users with a GUI was increasingly difficult to ignore. 5.0 The first native GUI for GRASS developed by Jacques Bouchard in 1999 and became part of GRASS 5.x, so-called TCLTKGRASS. 6.0 The replacement of TCLTKGRASS – Display Manager developed by Michael Barton, Radim Blaˇ zek and others. 6.2 The next step in GUI evolution was GIS Manager developed mainly by Michael Barton in 2006-2007.

13 / 30

slide-19
SLIDE 19

Open Archaeology, 8-9 May 2008, Padua, Italy

TCL/TK-based GUI in GRASS 6.3

14 / 30

slide-20
SLIDE 20

Open Archaeology, 8-9 May 2008, Padua, Italy

NVIZ – n-dimensional visualization

15 / 30

slide-21
SLIDE 21

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS integrated with QGIS

QGIS with GRASS support, from http://qgis.org

16 / 30

slide-22
SLIDE 22

Open Archaeology, 8-9 May 2008, Padua, Italy

wxPython-based GUI

◮ Development started in the end of 2006 ◮ Experimental GUI prototype included in GRASS 6.3.0 ◮ wxGUI development focused on GRASS 6.4 (the main release

  • f 2008) and future GRASS 7 releases

17 / 30

slide-23
SLIDE 23

Open Archaeology, 8-9 May 2008, Padua, Italy

wxPython-based GUI

◮ Development started in the end of 2006 ◮ Experimental GUI prototype included in GRASS 6.3.0 ◮ wxGUI development focused on GRASS 6.4 (the main release

  • f 2008) and future GRASS 7 releases

Goals

◮ Portability, fully functional on the GNU/Linux, Unix,

Mac-OS and MS Windows operating systems

◮ Ease of Use, providing all the features common to state of

the art GIS applications

◮ Extensibility, all tools integrated into GUI, including

digitization, georectification, image classification, etc.

17 / 30

slide-24
SLIDE 24

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

18 / 30

slide-25
SLIDE 25

Open Archaeology, 8-9 May 2008, Padua, Italy

wxGUI components

◮ Layer Manager allows to run different GRASS modules from

menu, includes map layer management, integrated command-line prompt, and command output window

19 / 30

slide-26
SLIDE 26

Open Archaeology, 8-9 May 2008, Padua, Italy

wxGUI components

Layer Manager

19 / 30

slide-27
SLIDE 27

Open Archaeology, 8-9 May 2008, Padua, Italy

wxGUI components

◮ Layer Manager allows to run different GRASS modules from

menu, includes map layer management, integrated command-line prompt, and command output window

◮ Map Display Window(s) integrates basic tools for zooming,

panning, data querying, decorations (north arrows, barscale, etc.)

19 / 30

slide-28
SLIDE 28

Open Archaeology, 8-9 May 2008, Padua, Italy

wxGUI components

Map Display Window

19 / 30

slide-29
SLIDE 29

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

20 / 30

slide-30
SLIDE 30

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Location wizard available from GUI welcome screen

21 / 30

slide-31
SLIDE 31

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Define GIS directory and name for new project location

21 / 30

slide-32
SLIDE 32

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Choose method for creating project location

21 / 30

slide-33
SLIDE 33

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Finish wizard and create new location

21 / 30

slide-34
SLIDE 34

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Run module to import raster/image files into GRASS using GDAL

21 / 30

slide-35
SLIDE 35

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Define input file and name for output raster map

21 / 30

slide-36
SLIDE 36

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Data import in progress. . .

21 / 30

slide-37
SLIDE 37

Open Archaeology, 8-9 May 2008, Padua, Italy

Location wizard, importing unreferenced images

Visualization of imported data in GRASS

21 / 30

slide-38
SLIDE 38

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

22 / 30

slide-39
SLIDE 39

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 0. step, start “Georectifier” from Layer Manager menu

23 / 30

slide-40
SLIDE 40

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 1. step, choose data type and source project location and mapset

(where unreferenced data lives)

23 / 30

slide-41
SLIDE 41

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 2. step, choose group (dataset to be geocoded) or create new

group

23 / 30

slide-42
SLIDE 42

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 3. step, select map layer to be displayed when selecting ground

control points (GCP)

23 / 30

slide-43
SLIDE 43

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 4. step, choose method for georectification and mark GCPs in

source and target location

23 / 30

slide-44
SLIDE 44

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 5. step, data geocoding in progress. . .

23 / 30

slide-45
SLIDE 45

Open Archaeology, 8-9 May 2008, Padua, Italy

Geocoding in wxGUI step by step

  • 6. step, display georeferenced data, . . .

23 / 30

slide-46
SLIDE 46

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

24 / 30

slide-47
SLIDE 47

Open Archaeology, 8-9 May 2008, Padua, Italy

Profile analysis tool

Profile selected surface raster map

25 / 30

slide-48
SLIDE 48

Open Archaeology, 8-9 May 2008, Padua, Italy

Profile analysis tool

Create profile of surface map with segment breaks

25 / 30

slide-49
SLIDE 49

Open Archaeology, 8-9 May 2008, Padua, Italy

Profile analysis tool

Set up optional raster map to profile

25 / 30

slide-50
SLIDE 50

Open Archaeology, 8-9 May 2008, Padua, Italy

Profile analysis tool

Print final profile report

25 / 30

slide-51
SLIDE 51

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

26 / 30

slide-52
SLIDE 52

Open Archaeology, 8-9 May 2008, Padua, Italy

Vector digitization tool in wxGUI

◮ Fully integrated into wxGUI ◮ Replaces the current Tcl/Tk-based v.digit module ◮ New features implemented

◮ Select vector objects by box/query (line length, dangles) ◮ Snap to node or vertex ◮ Snap to the vector objects (node or vertex) from background

vector map layer(s)

◮ Copy vector objects from background vector map layer(s) ◮ Undo ◮ . . . 27 / 30

slide-53
SLIDE 53

Open Archaeology, 8-9 May 2008, Padua, Italy

Vector digitization tool in wxGUI

Start digitizing vector map

27 / 30

slide-54
SLIDE 54

Open Archaeology, 8-9 May 2008, Padua, Italy

Vector digitization tool in wxGUI

Interactively modify vector attributes

27 / 30

slide-55
SLIDE 55

Open Archaeology, 8-9 May 2008, Padua, Italy

Vector digitization tool in wxGUI

Copy vector objects from background vector map layer

27 / 30

slide-56
SLIDE 56

Open Archaeology, 8-9 May 2008, Padua, Italy

Outline

Welcome to GRASS GIS User Interface Command Line Interface Graphical User Interface wxGUI Location wizard Georectifier Profile analysis tool Vector digitizer Further development

28 / 30

slide-57
SLIDE 57

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS roadmap

◮ GRASS 6.3.0 released 23rd April 2008 ◮ GRASS 6.4.0 as main stable release of 2008 (June 2008?)

29 / 30

slide-58
SLIDE 58

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS roadmap

◮ GRASS 6.3.0 released 23rd April 2008 ◮ GRASS 6.4.0 as main stable release of 2008 (June 2008?) ◮ Development of new generation GRASS 7 started in April

2008

◮ code reorganization ◮ raster library replacement (2D+3D), live links to external data

sources (GDAL)

◮ better metadata support ◮ improvements in R-integration ◮ . . . 29 / 30

slide-59
SLIDE 59

Open Archaeology, 8-9 May 2008, Padua, Italy

GRASS roadmap

◮ GRASS 6.3.0 released 23rd April 2008 ◮ GRASS 6.4.0 as main stable release of 2008 (June 2008?) ◮ Development of new generation GRASS 7 started in April

2008

◮ code reorganization ◮ raster library replacement (2D+3D), live links to external data

sources (GDAL)

◮ better metadata support ◮ improvements in R-integration ◮ . . .

◮ wxGUI as experimental prototype in GRASS 6.4, default for

GRASS 7.0

◮ NVIZ replacement under development ◮ Cartography tools under development ◮ Various improvements, new features, . . . 29 / 30

slide-60
SLIDE 60

Open Archaeology, 8-9 May 2008, Padua, Italy

EOF

Grazie per l’attenzione!

This work is licensed under a Creative Commons Licence, Attribution-Share Alike 3.0 http://creativecommons.org/licenses/by-sa/3.0/deed.en

30 / 30