A Gentle Introduction to SAGA GIS

Total Page:16

File Type:pdf, Size:1020Kb

A Gentle Introduction to SAGA GIS A gentle introduction to SAGA GIS V´ıctorOlaya Edition 1.1 — Rev. December 9, 2004 A gentle introduction to SAGA GIS. Copyright c 2004 Victor Olaya Edition 1.1 Rev. December 9, 2004 Revised by Javier Pineda (AESIA Desarrollo y Proyectos Medioambientales, S.L., Madrid, Spain.) and Victor Olaya. Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution–ShareAlike license. A copy of the license can be downloaded from the Creative Commons website at www.creativecommons.org. The license applies to the entire text of this book, plus all the illustrations that are by Victor Olaya. All the illustrations are by Victor Olaya except as noted in the photo credits or in parentheses in the caption of the figure. This book can be downloaded free of charge from http://geosun1.uni-geog.gwdg.de/saga/html/index.php in a variety of formats, including editable formats. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Linux is a registered trademark of Linus Torvalds. All other trademarks and service marks that might appear in this work are the property of their respective owners. You are free: • to copy, distribute, display, and perform this work • to make derivative works • to make commercial use of this work Under the following conditions: • Attribution. You must give the original author credit. • Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one. • For any reuse or distribution, you must make clear to others the license terms of this work. • Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. For any further information, please contact the author at the following e–mail address [email protected] This book can be downloaded in PDF and LATEXformats from the following website: http://geosun1.uni-geog.gwdg.de/saga/html/index.php Acknowledgments This book will not be the same without the contribution of the following people, to whom I am in debt: • Javier Pineda from Aesia Desarrollo y Proyectos Medioambientales S.L, who painstakingly read the text and corrected many of my mistakes. However, if you still find any mistake, I’m the one to blame, not him. • Andre Ringeler from the SAGA Development Team, who supported the manual from the very beginning and showed great interest. Also, the chapter about programming is based in his great text First steps in SAGA modules programming, from which I borrowed many ideas and even some text fragments. vii Contents Acknowledgments vii Preface xiii 1 Introduction 1 1.1 Introduction.What is SAGA? . 1 1.2 Who has created SAGA? . 2 1.3 How can I get SAGA? . 2 1.4 Installing and running SAGA . 3 2 SAGA fundamentals 5 2.1 Introduction . 5 2.2 The SAGA GUI . 5 2.3 Preferences. The parameters window. 8 2.4 Projects. File handling . 10 2.5 The SAGA module structure . 14 2.6 Closing SAGA . 15 3 Working with grids 17 3.1 Introduction . 17 3.2 Displaying grids. Basic tools . 17 3.3 Adjusting grid rendering . 19 3.4 Memory handling. Saving grids . 29 3.5 3D views . 30 3.6 Basic analysis functions . 32 3.6.1 Frequency histograms . 32 3.6.2 Profiles . 34 3.6.3 Regression analysis . 36 4 Working with tables 39 4.1 Introduction . 39 4.2 Opening and editing tables . 39 4.3 Creating a table . 40 4.4 Creating diagrams . 41 5 Working with shapes 43 5.1 Introduction . 43 5.2 Displaying vector data . 44 5.3 The attributes table . 48 5.4 Editing vector data . 49 ix 5.4.1 The vector hierarchy . 50 5.4.2 Editing shapes . 51 5.4.3 Adding a new shape to the layer . 53 5.4.4 Creating a vector layer . 53 6 Creating layouts 55 6.1 Introduction . 55 6.2 Creating a layout . 55 6.3 Adding grids . 56 6.4 Adding grid leyends . 58 6.5 Adding a histogram . 59 6.6 Adding a profile . 60 6.7 Adding 3D Views . 60 6.8 Adding shapes . 60 6.9 Adding text . 61 6.10 Arranging layout elements . 61 6.11 Once the layout is finished . 63 7 A first step into modules. Some basic grid modules 65 7.1 Introduction . 65 7.2 Filtering a grid . 65 7.3 Arithmetic mean of grids . 68 7.4 Normalizing a grid . 69 7.5 The Grid Calculator . 69 7.6 Changing the data storage type . 72 7.7 Changing grid orientation . 73 7.8 Changing grid values . 74 7.9 Resampling a grid . 76 7.10 Merging grids . 79 7.11 Filling missing information . 80 7.12 Creating buffers . 81 7.13 Creating artificial grids . 83 7.14 Some examples . 85 7.14.1 Performing grid intersection . 86 7.14.2 Using masks . 88 8 Import/Export modules 91 8.1 Introduction . 91 8.2 Import modules . 91 8.3 Export modules . 94 9 Terrain analysis. Hydrology. Lighting 97 9.1 Introduction . 97 9.2 Basic morphometric analysis . 97 9.3 Creating an hypsometric curve . 103 9.4 Classificating terrain forms . 104 9.5 Preparing a grid for hydrological analysis . 105 9.6 Calculating catchment area . 106 9.7 Calculating upslope and downslope areas . 112 9.8 Some hydrological indices . 116 9.9 Defining channel networks . 118 9.10 Basins . 121 9.11 Distances to channel network . 122 9.12 Calculating time to outlet. Isochrones . 124 9.13 Other hydrological parameters . 126 9.14 Lighting . 127 10 Shapes Modules 133 10.1 Introduction . 133 10.2 Combining raster and vector layers . 133 10.2.1 Creating contour lines from a grid . 133 10.2.2 Vectorising grid classes . 134 10.2.3 Converting a vector layer into a grid . 135 10.2.4 Retrieving grid information to enrich raster layers . 137 10.3 Creating a points layer from a table . 138 10.4 Merging vector layers . 139 10.5 Joining tables . 140 10.6 Intersecting polygon layers . 141 10.7 Calculating geometrical properties of polygons.
Recommended publications
  • Assessmentof Open Source GIS Software for Water Resources
    Assessment of Open Source GIS Software for Water Resources Management in Developing Countries Daoyi Chen, Department of Engineering, University of Liverpool César Carmona-Moreno, EU Joint Research Centre Andrea Leone, Department of Engineering, University of Liverpool Shahriar Shams, Department of Engineering, University of Liverpool EUR 23705 EN - 2008 The mission of the Institute for Environment and Sustainability is to provide scientific-technical support to the European Union’s Policies for the protection and sustainable development of the European and global environment. European Commission Joint Research Centre Institute for Environment and Sustainability Contact information Cesar Carmona-Moreno Address: via fermi, T440, I-21027 ISPRA (VA) ITALY E-mail: [email protected] Tel.: +39 0332 78 9654 Fax: +39 0332 78 9073 http://ies.jrc.ec.europa.eu/ http://www.jrc.ec.europa.eu/ Legal Notice Neither the European Commission nor any person acting on behalf of the Commission is responsible for the use which might be made of this publication. Europe Direct is a service to help you find answers to your questions about the European Union Freephone number (*): 00 800 6 7 8 9 10 11 (*) Certain mobile telephone operators do not allow access to 00 800 numbers or these calls may be billed. A great deal of additional information on the European Union is available on the Internet. It can be accessed through the Europa server http://europa.eu/ JRC [49291] EUR 23705 EN ISBN 978-92-79-11229-4 ISSN 1018-5593 DOI 10.2788/71249 Luxembourg: Office for Official Publications of the European Communities © European Communities, 2008 Reproduction is authorised provided the source is acknowledged Printed in Italy Table of Content Introduction............................................................................................................................4 1.
    [Show full text]
  • System for Automated Geoscientific Analyses (SAGA) V. 2.1.4
    Geosci. Model Dev., 8, 1991–2007, 2015 www.geosci-model-dev.net/8/1991/2015/ doi:10.5194/gmd-8-1991-2015 © Author(s) 2015. CC Attribution 3.0 License. System for Automated Geoscientific Analyses (SAGA) v. 2.1.4 O. Conrad1, B. Bechtel1, M. Bock1,2, H. Dietrich1, E. Fischer1, L. Gerlitz1, J. Wehberg1, V. Wichmann3,4, and J. Böhner1 1Institute of Geography, University of Hamburg, Bundesstr. 55, 20146 Hamburg, Germany 2scilands GmbH, Goetheallee 11, 37073 Göttingen, Germany 3LASERDATA GmbH, Technikerstr. 21a, 6020 Innsbruck, Austria 4alpS – Center for Climate Change Adaptation, Grabenweg 68, 6020 Innsbruck, Austria Correspondence to: B. Bechtel ([email protected]) Received: 12 December 2014 – Published in Geosci. Model Dev. Discuss.: 27 February 2015 Revised: 05 June 2015 – Accepted: 08 June 2015 – Published: 07 July 2015 Abstract. The System for Automated Geoscientific Analy- 1 Introduction ses (SAGA) is an open source geographic information sys- tem (GIS), mainly licensed under the GNU General Public License. Since its first release in 2004, SAGA has rapidly During the last 10 to 15 years, free and open source software developed from a specialized tool for digital terrain analy- (FOSS) became a recognized counterpart to commercial so- sis to a comprehensive and globally established GIS plat- lutions in the field of geographic information systems and form for scientific analysis and modeling. SAGA is coded science. Steiniger and Bocher (2009) give an overview of in C CC in an object oriented design and runs under sev- free and open source geographic information system (GIS) eral operating systems including Windows and Linux.
    [Show full text]
  • Overview of GIS Applications Risk Assessment and Risk Management of Climate Change Hazards
    Overview of GIS applications risk assessment and risk management of climate change hazards Fact irrigated lands Planed irrigated lands Watershed Water bodies Settlements River Soil types Overview of GIS applications risk assessment and risk management of climate change hazards © 2010 PREPARED The European Commission is funding the Collaborative project ‘PREPARED Enabling Change’ (PREPARED, project number 244232) within the context of the Seventh Framework Programme 'Environment'.All rights reserved. No part of this book may be reproduced, stored in a database or retrieval system, or published, in any form or in any way, electronically, mechanically, by print, photoprint, microfilm or any other means without prior written permission from the publisher COLOPHON Title Overview of GIS applications, risk assessment and risk management of climate change hazards Report number Prepared 2011.015 Deliverable number D2.5.1 Author(s) Ielizaveta Dunaieva (Crimean Scientific and Research Center) Victor Popovych (Crimean Scientific and Research Center) Elisa Traverso (Iren Acqua Gas) Quality Assurance Patrick Smeets (KWR Watercycle Research Institute) Document history Version Team member Status Date update Comments 01 Ielizaveta Dunaieva Draft 27-08-2010 Chapters 1-4, 6 02 Ielizaveta Dunaieva Draft 24-06-2011 Applications from cities Simferopol and Genoa added 03 Patrick Smeets Final 03-08-2011 QA by WA leader This report is: PU = Public Summary The first step to prepare for climate change effects on the water cycle is a risk assessment for the observed system to be prepared and, if it is necessary, protected. Risk assessment (RA) means the determination of qualitative and quantitative value of risks, related to a certain situation and the recognized hazards.
    [Show full text]
  • Peter Petrik, Martin Dobias and Others
    MDAL Peter Petrik, Martin Dobias and others Sep 22, 2021 CONTENTS 1 What is MDAL? 1 2 Download 3 2.1 Current Releases.............................................3 2.2 Past Releases...............................................3 2.3 Conda Installation............................................3 2.3.1 UPM Installation........................................3 2.4 Development Source...........................................4 3 Programs 5 3.1 MDAL programs.............................................5 3.1.1 mdalinfo.............................................5 3.1.1.1 Synopsis........................................5 3.1.1.2 Description......................................5 3.1.1.3 Example........................................5 4 MDAL drivers 7 4.1 GRIB – WMO General Regularly-distributed Information in Binary form...............8 4.2 NetCDF – Network Common Data Form................................8 4.3 2dm – SMS mesh format.........................................8 4.4 XDMF – eXtensible Data Model and Format..............................9 4.5 XMDF – eXtensible Model Data Format................................9 4.6 DAT – ASCII or Binary Dataset Files..................................9 4.7 SWW – NetCDF format for AnuGA................................... 10 4.8 HDF – HEC-RAS outputs format.................................... 10 4.9 3Di – NetCDF with Climate and Forecast (CF) metadata........................ 10 4.10 PLY – ASCII Stanford Polygon Format................................. 11 4.11 UGRID – NetCDF with Climate and Forecast (CF)
    [Show full text]
  • Species Distribution Modelling and Open Source GIS: Why Are They Still So Loosely Connected?
    International Environmental Modelling and Software Society (iEMSs) 2012 International Congress on Environmental Modelling and Software Managing Resources of a Limited Planet, Sixth Biennial Meeting, Leipzig, Germany R. Seppelt, A.A. Voinov, S. Lange, D. Bankamp (Eds.) http://www.iemss.org/society/index.php/iemss-2012-proceedings Species distribution modelling and open source GIS: why are they still so loosely connected? Anne Ghisla a, Duccio Rocchinia, Markus Netelera, Michael Forster¨ b, Birgit Kleinschmitb aFondazione Edmund Mach, Research and Innovation Centre, Department of Biodiversity and Molecular Ecology, GIS and Remote Sensing Unit, Via E. Mach 1, 38010, S. Michele all’Adige (TN), Italy ([email protected], [email protected], [email protected]) b Technische Universitat¨ Berlin - Fakultat¨ VI, Institut fur¨ Landschaftsarchitektur und Umweltplanung, Fachgebiet Geoinformation in der Umweltplanung, Sekr. EB 5 - Raum 235a, Straße des 17. Juni 145 , D-10623 Berlin ([email protected], [email protected]) Abstract: Species Distribution Models (SDMs) are correlative models that use envi- ronmental and/or geographical information to explain patterns of species occurrences. Those models are being used in various fields including climate change, invasive species research, evolutionary biology and epidemiology. Thanks to the availability of increasing computational resources, new methods continue to be developed. However, software packages that include the SDM algorithms usually focus on one or few methods, and have different degrees of integration with other geographical and statistical software. Specifically, SDM implementations are often standalone programs developed by univer- sity laboratories, either as extensions to statistical software. In few cases they are written as extensions for the most common proprietary Geographic Information System (GIS) products, despite the strong geographical component present in the data.
    [Show full text]
  • RQGIS: Integrating R with QGIS for Statistical Geocomputing by Jannes Muenchow, Patrick Schratz, Alexander Brenning
    CONTRIBUTED RESEARCH ARTICLE 409 RQGIS: Integrating R with QGIS for Statistical Geocomputing by Jannes Muenchow, Patrick Schratz, Alexander Brenning Abstract Integrating R with Geographic Information Systems (GIS) extends R’s statistical capabilities with numerous geoprocessing and data handling tools available in a GIS. QGIS is one of the most popular open-source GIS, and it furthermore integrates other GIS programs such as the System for Automated Geoscientific Analyses (SAGA) GIS and the Geographic Resources Analysis Support System (GRASS) GIS within a single software environment. This and its QGIS Python API makes it a perfect candidate for console-based geoprocessing. By establishing an interface, the R package RQGIS makes it possible to use QGIS as a geoprocessing workhorse from within R. Compared to other packages building a bridge to GIS (e.g., rgrass7, RSAGA, RPyGeo), RQGIS offers a wider range of geoalgorithms, and is often easier to use due to various convenience functions. Finally, RQGIS supports the seamless integration of Python code using reticulate from within R for improved extendability. Introduction Defining a GIS as a system for the analysis, manipulation and visualization of geographical data (Longley et al., 2011), one could argue that R has become a GIS (Bivand et al., 2013). In great part this is thanks to packages that provide spatial classes and algorithms coded in and for R (despite this these packages might also link to other software outside of R). These include maptools (Bivand and Lewin-Koh, 2017), raster (Hijmans, 2017), sp (Bivand et al., 2013) and sf (Pebesma, 2017). Further packages even extend R’s GIS capabilities through advanced mapping, e.g., mapview (Appelhans et al., 2017) and mapmisc (Brown, 2016), and routing, e.g., osmar (Eugster and Schlesinger, 2013) and dodgr (Padgham and Peutschnig, 2017), among others.
    [Show full text]
  • Simple Rules for an Efficient Use of Geographic Information Systems In
    bioRxiv preprint doi: https://doi.org/10.1101/113225; this version posted March 2, 2017. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY 4.0 International license. Simple rules for an efficient use of Geographic Information Systems in molecular ecology Authors Leempoel Kevin1*, Duruz Solange1, Rochat Estelle1, Widmer Ivo1, Orozco-terWengel Pablo², Joost Stéphane1 1 Ecole Polytechnique Federale de Lausanne (EPFL), School of Architecture, Civil and Environmental Engineering (ENAC), Laboratory of Geographic Information Systems (LASIG), CH 1015 Lausanne, Switzerland ² Cardiff University, Biomedical Science Building, Museum Avenue, Cardiff CF10 3AX, Wales UK Correspondence: Dr. Kevin Leempoel, [email protected] 1 bioRxiv preprint doi: https://doi.org/10.1101/113225; this version posted March 2, 2017. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY 4.0 International license. Abstract Geographic Information Systems (GIS) are becoming increasingly popular in the context of molecular ecology and conservation biology thanks to their display options efficiency, flexibility and management of geodata. Indeed, spatial data for wildlife and livestock species is becoming a trend with many researchers publishing genomic data that is specifically suitable for landscape studies. GIS uniquely reveal the possibility to overlay genetic information with environmental data and, as such, allow us to locate and analyze genetic boundaries of various plant and animal species or to study gene-environment associations (GEA).
    [Show full text]
  • Software (R+GIS+GE) 2
    3 1 Software (R+GIS+GE) 2 This chapter will introduce you to five main packages that we will later on use in various exercises from 3 chapter 5 to 11: R, SAGA, GRASS, ILWIS and Google Earth (GE). All these are available as open source 4 or as freeware and no licenses are needed to use them. By combining the capabilities of the five software 5 packages we can operationalize preparation, processing and the visualization of the generated maps. In this 6 handbook, ILWIS GIS will be primarily used for basic editing and to process and prepare vector and raster 7 maps; SAGA/GRASS GIS will be used to run analysis on DEMs, but also for geostatistical interpolations; R 8 + packages will be used for various types of statistical and geostatistical analysis, but also for data processing 9 automation; Google Earth will be used for visualization and interpretation of results. 10 In all cases we will use R to control all pro- 11 cesses, so that each exercise will culminate in a sin- 12 gle R script (‘R on top’; Fig. 3.1). In subsequent sec- 13 tion, we will refer to the R + Open Source Desk- 14 top GIS combo of applications that combine geo- Statistical 15 computing graphical and statistical analysis and visualization as 16 R+GIS+GE. 17 GDAL This chapter is meant to serve as a sort of a 18 19 mini-manual that should help you to quickly obtain ground overlays, and install software, take first steps, and start doing time-series KML 20 some initial analysis.
    [Show full text]
  • Open Source Software
    Open Source Software Desktop GIS GRASS GIS -- Geographic Resources Analysis Support System, originally developed by the U.S. Army Corps of Engineers:, is a free, open source geographical information system (GIS) capable of handling raster, topological vector, image processing, and graphic data. http://grass.osgeo.org/ gvSIG -- is a geographic information system (GIS), that is, a desktop application designed for capturing, storing, handling, analyzing and deploying any kind of referenced geographic information in order to solve complex management and planning problems. http://www.gvsig.com/en ILWIS -- Integrated Land and Water Information System is a GIS / Remote sensing software for both vector and raster processing. http://52north.org/downloads/category/10-ilwis JUMP GIS / OpenJUMP -- is a Java based vector GIS and programming formwork. http://jump-pilot.sourceforge.net/ MapWindow GIS -- is an open source GIS (mapping) application and set of programmable mapping components. http://www.mapwindow.org/ QGIS -- is a cross-platform free and open-source desktop geographic information system (GIS) application that provides data viewing, editing, and analysis capabilities http://qgis.org/en/site/ SAGA GIS -- System for Automated Geoscientific Analysis (SAGA GIS) is a free and open source geographic information system used for editing spatial data. http://www.saga-gis.org/en/index.html uDig -- is a GIS software program produced by a community led by Canadian-based consulting company Refractions Research. http://udig.refractions.net/ Capaware -- is a 3D general purpose virtual world viewer. http://www.capaware.org/ FalconView -- is a mapping system created by the Georgia Tech Research Institute. https://www.falconview.org/trac/FalconView Web map servers GeoServer -- an open-source server written in Java - allows users to share process and edit geospatial data.
    [Show full text]
  • System for Automated Geoscientific Analyses (SAGA)
    Free Open Source Software for Geoinformatics (FOSS4G) A Practical Example – System for Automated Geoscientific Analyses (SAGA) Zlatko Horvat, MSc DGU Područni ured za katastar Čakovec My Motivation Give a Basic Introduction to Free and Open Source Software (FOSS) Give an Overview on FOSS for Geoinformatics (FOSS4G) Talk on SAGA and Introduce the Basic Concepts of Software FOSS A Basic Introduction to Free and Open Source Software (FOSS) FOSS Freedoms “Free software is a matter of the user’s freedom to run, copy, distribute, study, change and improve the software. More precisely, it means that the programs’s users have the four essential freedoms: .The freedom to run the program, for any purpose (freedom 0). .The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this. .The freedom to redistribute copies so you can help your neighbor (freedom 2). .The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this”. -from the Free Software Definition http://www.gnu.org/philosopy/free-sw.html FOSS4G The Open Source Geospatial Foundation (OSGeo) was created to support the collaborative development of open source geospatial software, and promote its widespread use. .The FOSS4G was first coined in early 2004 as an acronym for Free and Open Source Software for Geoinformatics by a research group working on I18N of GRASS and MapServer .The name of an event hosted today by the Open Source Geospatial Foundation .Open source geospatial software refers to GIS, GPS, spatial data management and related developer tools and end user applications delivered with an open source license.
    [Show full text]
  • Combining Open-Source Programming Languages with GIS for Spatial Data Science
    Technische Universität München Department of Civil, Geo and Environmental Engineering Chair of Cartography Prof. Dr.-Ing. Liqiu Meng Combining Open-source Programming Languages with GIS for Spatial Data Science Maja Kalinic Master's Thesis Duration: 01.04.2017 - 30.09.2017 Study Course: Cartography M.Sc. Supervisor: Dr. Mathias Jahnke (TUM) Prof. Dr. Menno-Jan Kraak (ITC) Dr. Jan Wilkening (Esri Deutschland GmbH) Cooperation: Esri Deutschland GmbH, Kranzberg 2017 Table of Contents DECLARATION OF AUTHORSHIP ..................................................................... 4 ACKNOWLEDMENTS ......................................................................................... 5 LIST OF FIGURES ............................................................................................... 6 ABSTRACT ........................................................................................................... 8 CHAPTER ............................................................................................................. 9 I INTRODUCTION ..................................................................................................... 9 1.1. Motivation and problem statement ..................................................................... 9 1.2. Research identification ....................................................................................... 10 1.3. Research questions ............................................................................................. 10 II RELATED WORK .................................................................................................
    [Show full text]
  • Open Source Desktop GIS 2010
    Hochschule für Technik Stuttgart University of Applied Sciences Prof. Dr. Dietrich Schröder Schellingstrasse 24 T +49 (0)711 8926 2612# www.hft-stuttgart.de AGSE2010 D-70174 Stuttgart F +49 (0)711 8926 2666 [email protected] University of Applied Sciences Applied Geoinformatics for Society and Environment 2010 Workshop on Open Source Desktop GIS Universidad Catolica de Santa Maria Arequipa, Peru August 2010 Hochschule für Technik Stuttgart Prof. Dr. Dietrich Schröder University of Applied Sciences Open Source Desktop GIS Table of contents Part A: Introduction .................................................................................................................... 3 1 Desktop GIS and Free and Open Source Software ............................................................ 3 2 Free and Open Source Desktop GIS Projects ..................................................................... 6 2.1 The Jump Family ......................................................................................................... 6 2.1.1 OpenJump ............................................................................................................. 6 2.1.2 deeJump ................................................................................................................ 7 2.1.3 Kosmo .................................................................................................................. 7 2.2 gvSIG ..........................................................................................................................
    [Show full text]