SlideShare a Scribd company logo
©2015MarkusNeteler
GRASS GIS 7 Capabilities
A graphical overview
Markus Neteler
http://gis.cri.fmach.it/neteler/
http://courses.neteler.org/blog
http://consulting.neteler.org/
2015
PostGISomics
©2015MarkusNeteler,Italy
Geographic Resources Analysis Support System
Open Source GIS, developed since 1984, since 1999 GNU GPL
Portable code (many operating systems, 32/64bit)
Your GIS backbone – linkable to:
GNU/Linux MacOSX MS-Windows
http://grass.osgeo.org
(IBM AIX, *BSD, ...)
What's GRASS GIS?
©2015MarkusNeteler,Italy
What's GRASS GIS?
● Raster 2D/3D (voxel) processing
● Vector 2D/3D topological processing
● Vector network analysis support
● Image processing system
● Space-time cubes, temporal GIS
● Native raster and vector format
● 3D Visualization system
● DBMS integrated (SQL)
with SQLite, DBF,
PostgreSQL, MySQL,
and ODBC drivers
From DXF
Voxel
©2015MarkusNeteler,Italy
GRASS GIS 7 User interface
Nagshead LiDAR time series:
dune moving over 9 years
(NC, USA) – animation
©2015MarkusNeteler
GRASS GIS 7 graphical user interface
©2015MarkusNeteler
Displaying raster and vector maps
Display raster maps
Display vector maps
A) Using the menu
B) Using the icons
©2015MarkusNeteler
Opening the attribute table of the “roadsmajor” vector map by
● … either right-mouse clicking in layer tree on map name
● … or using the related “Show Attribute table” icon
Showing vector map attributes
©2015MarkusNeteler
Selecting the single lane roads in the “roadsmajor” vector map
● Use “Simple” SQL query
● The selected vectors will be highlighted in the map display
SQL queries of attributes
©2015MarkusNeteler
Adding map elements
Using the Wake county “elevation” and “roadsmajor” maps:
©2015MarkusNeteler
Modifying element settings and position
Using the Wake county “elevation” and “roadsmajor” maps:
Use pointer to
- move map elements
- edit element settings with
a click
©2015MarkusNeteler
Adding vector map labels
Activating vector labels for “roadsmajor” map: right-click map in Layer Manager, Properties
For a more sophisticated labeling
system, see v.label and v.label.sa.
©2015MarkusNeteler
Map histogram tool
Using the Wake county “elevation” map:
Map will be preselected
if selected in Layer Manager
©2015MarkusNeteler
Adding a grid to the map
Using the NC state “elev_state_500m” map:
©2015MarkusNeteler,Italy
GRASS GIS 7 Vector features
Native vector format
● Vector topology
● m:n mapping of geometry features to attributes
● Support of vector layers
● OGC Simple Features ←→ Topological Vector Conversion
● Database Management system (DBMS) with SQL support
● SQLite (default DB backend), PostgreSQL + PostGIS,
MySQL, ODBC (, DBF)
©2015MarkusNeteler,Italy
GRASS GIS 7 Vector features
http://grasswiki.osgeo.org/wiki/Vector_Database_Management
©2015MarkusNeteler,Italy
GRASS GIS topological vector digitizer
©2015MarkusNeteler,Italy
Further vector processing capabilities
Example vector module groups
Topological geometry feature digitizing/editing
https://grass.osgeo.org/grass70/manuals/vectorintro.html
LiDAR analysis:
http://grasswiki.osgeo.org/wiki/LIDAR
Linear referencing (LRS) – v.lrs.*:
http://grasswiki.osgeo.org/wiki/Linear_Reference_System
Network analysis – v.net.*:
http://grasswiki.osgeo.org/wiki/Vector_network_analysis
©2015MarkusNeteler,Italy
Hydrological analysis: examples
Elevation model,
1m res.
Basins, thresh =
1000 cells
(watersheds)
(vectorize with
r.to.vect)
Stream network Flow accumulation
TCI
multiple flow direction
https://grasswiki.osgeo.org/wiki/Hydrological_Sciences
©2015MarkusNeteler,Italy
Hydrological analysis: examples
Credit:
Helena Mitasova, NCSU (web)
Accumulation over time
(animation)
Particle flow over time
(animation)
©2015MarkusNeteler,Italy
Raster resampling with interpolation
elev_state_500m (orig) elevation 10m (orig) differences at 10m
RST: elev state at 10m differences at 10m
r.random
v.surf.rst
920 random points
(optionally: add other sources)
©2015MarkusNeteler,Italy
Calculation of terrain curvatures
concave, negative
no curvature,
zero
convex, positive
©2015MarkusNeteler,Italy
Raster data analysis: further methods
Additional DEM analysis modules:
- depression areas can be filled with r.fill.dir
- flowlines can be calculated with r.flow
- trace a flow through a DEM: r.drain
- watershed analysis can be done with r.watershed and r.terraflow
- cost surfaces: r.cost, r.walk
Energy:
- cast shadows, astronomical calculations of sun position: r.sunmask
- energy budget: r.sun
Line of sight:
- viewsheds can be generated with: r.viewshed
Interpolation methods
- 2D inverse distance weighted: v.surf.idw
- 2D from contour lines: r.surf.contour
- 2D bilinear: r.resamp.interp
- 2D regularized splines with tension (with cross validation): v.surf.rst
- 3D regularized splines with tension (with cross validation): v.vol.rst
- 2D/3D kernel densities: v.kernel
… and much more!
https://grass.osgeo.org/grass70/manuals/
©2015MarkusNeteler,Italy
Raster-vector statistics: DEM stats per watershed
With v.rast.stats
we will calculate
univariate statistics
per polygon based
on a raster map.
Results are added
as new columns to
the attribute table
of the watershed
map.
©2015MarkusNeteler,Italy
Raster-vector statistics: DEM stats per watershed
Statistics per
watershed ID ...
v.rast.stats map=basins_10k raster=elevation 
column_prefix=elev
v.db.select basins_10k separator=comma
Zonal statistics of elevation data per watershed basin
©2015MarkusNeteler,Italy
g.gui.gcp: Insertion of GCP pairs (source – target):
Georectification of a scanned map
©2015MarkusNeteler,Italy
LANDSAT 8: Improving the R/G/B resolution with
panchromatic band
Image fusion – pansharpening
R/G/B composite at 28m
R/G/B composite at 14.25m
(IHS method, color balanced)
Note: the colors depend on the
method used for pansharpening.
Several methods are provided
in i.panscharpen
©2015MarkusNeteler
Map swiping for multitemporal maps
Comparing the LANDSAT 5 (1987) and 7 (2002) RGB composites of Wake county:
Switch to “map swipe” view
Select both LANDSAT maps (CTRL-click)
MAP 2002 ← → MAP 1987
©2015MarkusNeteler
Bivariate Scatterplots
LANDSAT 7 2002 channels 1 and 3 of Wake county.
©2015MarkusNeteler,Italy
Unsupervised image classification – Segmentation
i.segment group=ortho2010_t792_subset_20cm 
output=ortho2010_t792_subset_20cm_segment_50 
seeds=ortho2010_t792_subset_20cm_segment_25 
goodness=ortho2010_t792_subset_20cm_seg_50_fit 
threshold=0.50
Re-use output of previous run (seed):
0.01 0.05 0.10 0.25
0.50 0.75 0.90 0.95
©2015MarkusNeteler,Italy
Supervised image classification
http://geo.fsv.cvut.cz/~landa/publications/2012/ogrs2012/poster/figures/
Tool for supervised classification of imagery data.
Generates spectral signatures for an image by allowing
the user to outline regions of interest.
©2015MarkusNeteler,Italy
Supervised image classification
Tool for supervised classification of imagery data.
Generates spectral signatures for an image by allowing the user to outline regions of
interest. Maxlik Classification and storage as separate raster map per class.
©2015MarkusNeteler,Italy
Texture analysis
Entropy, 7x7
Sum Average,
7x7
Calculation of the sum average (SA) and of the entropy (entr)
measure, using 7x7 moving window size
Texture maps may be used as synthetic channels for
image classification
r.texture
©2015MarkusNeteler,Italy
Space-Time functionality in GRASS 7
©2015MarkusNeteler,Italy
GRASS GIS 7: Space-time functionality
g.gui.tplot: plots the values of one or more
temporal raster datasets for a queried
point defined by a coordinate pair
Screenshots: Veronica Andreo
(in PDF, click for animation)
©2015MarkusNeteler,Italy
GRASS GIS 7: Space-time functionality
t.register: Registers raster, vector and raster3d maps
in a space time dataset
Screenshot: S Gebbert/A. Petrasova
©2015MarkusNeteler
Graphical user interface versus Command line
Cycle through
the various tabs
The graphical user interface effectively generates the respective
command for the command line (and also writes to the shell “history”)
STYLE: Menu: Settings → GUI Settings → Appearance → Module dialog style: Basic top/left
You may copy the command
to your documentation
©2015MarkusNeteler,Italy
Viewshed (line of sight)
r.viewshed in action: what is visible from a certain viewpoint?
©2015MarkusNeteler,Italy
Vector feature overlay operations
Boolean operators
GRASS GIS module:
v.overlay
©2015MarkusNeteler,Italy
CONTAINS
with
points
Vector feature select operations: v.select (GEOS)
CROSSES
with
lines
EQUALS
CONTAINS
with
polygon
WITHINTOUCHES
DISJOINT
INTERSECTS
OVERLAPS
©2015MarkusNeteler,Italy
Overview: Vector network analysis in GRASS GIS
©2015MarkusNeteler,Italy
Vector network analysis in GRASS GIS
3
4
Procedure: Display the vector network, activate snapping to nodes
(takes a moment) and define two points on the network
5
©2015MarkusNeteler,Italy
Vector Network Analysis Tool
Vector network analysis in GRASS GIS
roads
1
2
©2015MarkusNeteler,Italy
Vector Network Analysis Tool: shortest path
Vector network analysis in GRASS GIS
©2015MarkusNeteler,Italy
Vector Network Analysis Tool: subnet allocation
Vector network analysis in GRASS GIS
©2015MarkusNeteler,Italy
Vector Network Analysis Tool: cost isolines: 1km, 2km, 3km, 10km
Vector network analysis in GRASS GIS
©2015MarkusNeteler,Italy
Vector Network Analysis Tool: travelling salesman, 4 points to visit
Vector network analysis in GRASS GIS
©2015MarkusNeteler,Italy
Vector simplification with v.generalize
Reducing the number of vertices with Douglas-Peucker
10m threshold
100m threshold
©2015MarkusNeteler,Italy
Vector smoothing with v.generalize
Increasing the number of vertices with sliding average
100m threshold
10m threshold
©2015MarkusNeteler,Italy
Vector reprojection: do it right!
A rectangular in LatLong being reprojected...
4 corner rectangle, LatLong
(no further vertices there; an
issue in many GIS)
Ouch... OK
...to EU LAEA
Automated vertex densification
in GRASS GIS 7 (v.proj)
©2015MarkusNeteler,Italy
http://grass.osgeo.org/wiki/GRASS_and_Python
New GRASS GIS 7 Python API
©2015MarkusNeteler,Italy
An interactive (Web based!) shortcourse on writing GRASS scripts in Python
https://github.com/wenzeslaus/python-grass-addon
Using Python and GRASS GIS 7 with ipython
©2015MarkusNeteler,Italy
● Since 2005 (10 years) GRASS GIS is running natively on 64bit CPUs
● GRASS GIS 7 offers Large File Support also on 32bit Windows
● Installed on Grids and TOP500 supercomputers (AKKA Umeå,
ENEA Frascati, Aurel Bratislava, …)
● Runs on Linux, AIX, Solaris, freeBSD, netBSD, (MS-Windows)...
● Various ways of parallelization
Hints: http://grasswiki.osgeo.org/wiki/Compile_and_Install
GRASS GIS goes supercomputer: HPC
©2015MarkusNeteler,Italy
GRASS GIS 7 and R statistics
https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7
Using R (Rstudio) within a GRASS GIS session
©2015MarkusNeteler,Italy
Using QGIS with Processing/GRASS
Geoprocessing of the fire point layer: QGIS → Processing → GRASS GIS
©2015MarkusNeteler,Italy
The Addons repository is SVN based:
One-click installation with
extension manager
Increasing inflow of Python scripts
Users can easily obtain write access
to develop new functionality
Peer review through SVN commit
email list
Also github, gitlab etc. now supported
https://grass.osgeo.org/grass70/manuals/addons/
GRASS Addons: User contributed extensions
©2015MarkusNeteler
Development meetings: Community sprints
Community Sprint in Como 2015Community Sprint in Como 2015
©2015MarkusNeteler,Italy
Where's the stuff?
GRASS GIS 7 Software:
Free download for MS Windows, MacOSX, Linux and source code:
https://grass.osgeo.org/download/
Addons (user contributed extensions):
https://grass.osgeo.org/grass70/manuals/addons/
Free sample data:
Rich data set of North Carolina (NC)
… available as GRASS GIS location and in common GIS formats
https://grass.osgeo.org/download/sample-data/
User Help:
Mailing lists (also in different languages):
https://grass.osgeo.org/support/
Wiki:
https://grasswiki.osgeo.org/wiki/
https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7
Manuals:
https://grass.osgeo.org/documentation/manuals/

More Related Content

PPTX
Coordinate systems, datum & map projections
PPTX
Geographic Information System for Egyptian Railway System(GIS)
PPTX
Digitizing features_2 in ARC GIS
PDF
GeoServer Orientation
PPT
GIS & GPS PPt
ODP
The GRASS GIS software (with QGIS) - GIS Seminar
PPT
GPS & its integration with GIS & RS
PPTX
Introduction to GIS
Coordinate systems, datum & map projections
Geographic Information System for Egyptian Railway System(GIS)
Digitizing features_2 in ARC GIS
GeoServer Orientation
GIS & GPS PPt
The GRASS GIS software (with QGIS) - GIS Seminar
GPS & its integration with GIS & RS
Introduction to GIS

What's hot (20)

PPT
Geographic information system
PDF
[공간정보시스템 개론] L01 공간정보시스템개요
PPTX
Types of GIS Data
PDF
An introduction to geographic information systems (gis) m goulbourne 2007
PDF
Rolls-Royce Cullinan Mansory Billionaire Edition
PPTX
History of GIS.pptx
PPTX
Introduction to GIS
PPTX
Raster data and Vector data
PPTX
Topology Errors and Cleaning
PPTX
Gis in transportation
PPTX
Remote Sensing: Overlay Analysis
PDF
Mobile Mapping Technology and Applications.pdf
PDF
Interaction of EMR with atmosphere and earth surface
PPTX
Automobile Industry
PDF
Introduction to ArcGIS 10.1
PPTX
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...
PDF
Map making using qgis
PPT
Data base management system
PDF
CH-2 HISTORY OF RAJASTHAN-I PANEL.pdf
Geographic information system
[공간정보시스템 개론] L01 공간정보시스템개요
Types of GIS Data
An introduction to geographic information systems (gis) m goulbourne 2007
Rolls-Royce Cullinan Mansory Billionaire Edition
History of GIS.pptx
Introduction to GIS
Raster data and Vector data
Topology Errors and Cleaning
Gis in transportation
Remote Sensing: Overlay Analysis
Mobile Mapping Technology and Applications.pdf
Interaction of EMR with atmosphere and earth surface
Automobile Industry
Introduction to ArcGIS 10.1
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...
Map making using qgis
Data base management system
CH-2 HISTORY OF RAJASTHAN-I PANEL.pdf
Ad

Viewers also liked (13)

PPTX
Automated change detection in grass gis
PDF
Mike Goodchild's keynote - GISRUK 2010
PDF
O GIS como base para a Silvicultura de Precisão na FIBRIA
PDF
Apostila completa q_gis
PPTX
A utilização do software quantum gis
PDF
Informática Aplicada ao Planejamento Territorial - Apresentação
PPT
O Poder dos Softwares Livres para Geoprocessamento
PDF
Manipulação de dados no SPSS e QGIS
PPT
Geoprocessamento com Software Livre
PPTX
Qualitative GIS by Rob Berry @rural_gis
PPT
GIS Data Types
PPT
GIS presentation
PPT
Archaeological Applications Of Gis
Automated change detection in grass gis
Mike Goodchild's keynote - GISRUK 2010
O GIS como base para a Silvicultura de Precisão na FIBRIA
Apostila completa q_gis
A utilização do software quantum gis
Informática Aplicada ao Planejamento Territorial - Apresentação
O Poder dos Softwares Livres para Geoprocessamento
Manipulação de dados no SPSS e QGIS
Geoprocessamento com Software Livre
Qualitative GIS by Rob Berry @rural_gis
GIS Data Types
GIS presentation
Archaeological Applications Of Gis
Ad

Similar to GRASS GIS 7 capabilities: a graphical overview (20)

PDF
GRASS GIS 7: your reliable geospatial number cruncher
ODP
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
ODP
Vom Laptop zum Großrechner: Neues in GRASS GIS 7
ODP
GRASS and OSGeo: a framework for archeology
ODP
OSGeo ireland keynote 2017 by Markus Neteler
PDF
Lezione master Proidro - Modellazione idrologica con GRASS GIS 17/12/2010
PPT
Introduction of GIS & Remote Sensing (RS)
ODP
25 Years of GRASS GIS
PDF
Introduction to geomorphology in GRASS GIS - by Skyler Sorsby
PPT
Intro to GIS and Remote Sensing
PPTX
Intro GIS.pptx
PDF
PDF
GRASSy GIS
PPTX
Fundamentals of Remote Sensing- A training module
PPTX
GIS and Remote sensing CIvil Engg by Mrunmayee
PPT
Info Grafix
PPTX
123_BASICSAND FUNDAMENTASL OF gisrs.pptx
PDF
FOSS4G in Europe; Italy and the Politecnico de Milano
PPTX
Introduction to GIS (1).pptxBBHHHHHHHHHH
PPTX
Introduction to GIS (1).pptxBBHHHHHHHHHH
GRASS GIS 7: your reliable geospatial number cruncher
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
Vom Laptop zum Großrechner: Neues in GRASS GIS 7
GRASS and OSGeo: a framework for archeology
OSGeo ireland keynote 2017 by Markus Neteler
Lezione master Proidro - Modellazione idrologica con GRASS GIS 17/12/2010
Introduction of GIS & Remote Sensing (RS)
25 Years of GRASS GIS
Introduction to geomorphology in GRASS GIS - by Skyler Sorsby
Intro to GIS and Remote Sensing
Intro GIS.pptx
GRASSy GIS
Fundamentals of Remote Sensing- A training module
GIS and Remote sensing CIvil Engg by Mrunmayee
Info Grafix
123_BASICSAND FUNDAMENTASL OF gisrs.pptx
FOSS4G in Europe; Italy and the Politecnico de Milano
Introduction to GIS (1).pptxBBHHHHHHHHHH
Introduction to GIS (1).pptxBBHHHHHHHHHH

More from Markus Neteler (11)

ODP
10 years of OSGeo - Happy Birthday
ODP
OSGeo: projects, incubation and infrastructure
PDF
Tracking emerging diseases from space: Geoinformatics for human health
PDF
Deriving environmental indicators from massive spatial time series using open...
ODP
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
PDF
GRASS GIS lightening talk at FOSS4G 2006
PDF
GRASS GIS e Sextante
PDF
From a niche to a global user community: Open Source GIS and OSGeo
ODP
The need of Interoperability in Office and GIS formats
ODP
Community based software development: The GRASS GIS project
ODP
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
10 years of OSGeo - Happy Birthday
OSGeo: projects, incubation and infrastructure
Tracking emerging diseases from space: Geoinformatics for human health
Deriving environmental indicators from massive spatial time series using open...
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
GRASS GIS lightening talk at FOSS4G 2006
GRASS GIS e Sextante
From a niche to a global user community: Open Source GIS and OSGeo
The need of Interoperability in Office and GIS formats
Community based software development: The GRASS GIS project
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Monthly Chronicles - July 2025
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

GRASS GIS 7 capabilities: a graphical overview

Editor's Notes

  • #4: Web Map Service (WMS1.3) Provides three operations protocols (GetCapabilities, GetMap, and GetFeatureInfo) in support of the creation and display of registered and superimposed map-like views of information that come simultaneously from multiple sources that are both remote and heterogeneous. Web Coverage Service (WCS) Extends the Web Map Server (WMS) interface to allow access to geospatial "coverages" that represent values or properties of geographic locations, rather than WMS generated maps (pictures). Web Feature Service (WFS) The purpose of the Web Feature Server Interface Specification (WFS) is to describe data manipulation operations on OpenGIS® Simple Features (feature instances) such that servers and clients can 'communicate' at the feature level. Web Map Context Documents (WMC) Create, store, and use "state" information from a WMS based client application