Sunteți pe pagina 1din 11

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

Introduction to SAGA System for Automated Geoscientific Analyses

Olaf Conrad Volker Wichmann

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | What is SAGA ? SAGA is the abbreviation for System for Automated Geoscientific Analyses SAGA is a Geographic Information System (GIS) software SAGA has been designed for an easy and effective implementation of spatial algorithms SAGA offers a comprehensive, growing set of geoscientific methods SAGA provides an easily approachable user interface with many visualisation options SAGA runs under Windows and Linux operating systems SAGA is a Free Open Source Software (FOSS)
Graphical User Interface (GUI)
user interaction, visualisation

Module Management
loading, execution

Data Management
tables, vector, raster data

Module Libraries
the implementation of scientific methods Library A Library B Library C

Application Programming Interface (API)


data objects, modules, tools and helpers

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Drivers of Development

SAGAs development is mainly driven by the research interests of its inventors and developers
Physical Geography, Univ. Hamburg: J. Bhner, O. Conrad, A. Ringeler SciLands GmbH, Gttingen: R. Kthe, M. Bock alp-S and Laserdata GmbH, Innsbruck: V. Wichmann, M. Egger

SAGAs publication as FOSS lead to several external inputs enriching the spectrum of developments
V. Olaya: SEXTANTE (Sistema Extremeno de Analisis Territorial), SAGA manual, module & system development T. Schorr: GEOSTEP project, Linux, Unicode and 64bit compatibility, SAGA-Python interface V. Wichmann: (Univ. Munich/Gttingen/Eichsttt) alp-S and Laserdata GmbH, support & documentation, module & system development V. Cimmery: SAGA 2 User Guide, documentation A. Brenning: RSAGA plugin, accessing SAGA modules from R environment J. van de Wauw: Linux support and distribution (Debian/Ubuntu), bug fixes, module development alp-S (2009): project G05 CCID supports the implementation of a new datatype point clouds and many other contributions, mainly modules and documentation

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | System Architecture


SAGA's system architecture is modular. Its foundation is the Application Programming Interface (API), which provides data object models, basic definitions for the programming of scientific modules and numerous helpful classes and functions.

Graphical User Interface (GUI)


user interaction, visualisation

Module Management
loading, execution

Data Management
tables, vector, raster data

Module libraries are containers for the scientific methods in form of so called modules. API as well as module libraries are not independently running executables but Dynamic Link Libraries (DLL) and have to be accessed through a front end program. A Graphical User Interface (GUI) is one of the two generic SAGA front ends. It allows the user to control the system, is responsible for module and data management as well as for data visualisations.

Module Libraries
the implementation of scientific methods Library A Library C Library D Library B Library E

Application Programming Interface (API)


data objects, modules, tools and helpers

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Programming Modules


CHillshade::CHillshade(void) { Parameters.Add_Grid( NULL, "ELEVATION", "Elevation", PARAMETER_INPUT); Parameters.Add_Grid( NULL, "SHADE" , "Shade" ... } bool CHillshade::On_Execute(void) { CSG_Grid *pDEM = Parameters(ELEVATION)->asGrid(); CSG_Grid *pShade = Parameters(SHADE) ->asGrid(); ... for(y=0; y<Get_NY(); y++) { for(x=0; x<Get_NX(); x++) { if( pDEM->Get_Gradient(x, y, s, a) == false ) { pShade->Set_NoData(x, y); } else { d = acos(sin(s) * sin(Dec) + cos(s) * cos(Dec) * cos(a - Azi)); pShade->Set_Value(x, y, d); } } } } , PARAMETER_OUTPUT);

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Management, Analysis, Modelling


Data Import & Export

SAGA comes with a comprehensive and growing set of free modules, most of them published under the GPL
2005: 34 libraries, 119 modules, v1.2 2007: 42 libraries, 234 modules, v2.0.0 2008: 48 libraries, 300 modules, v2.0.3 2009: 49 libraries, 330 modules, v2.0.4 2010: 56 libraries, 401 modules, v2.0.5 2011: 63 libraries, 447 modules, v2.0.7 2012: 62 libraries, 457 modules, v2.0.8

Vector Tools

Projections

Terrain Analysis

Not all modules are highly sophisticated analysis or modeling tools. Many modules perform rather simple data operations. But several other modules represent the state of the art in their field of analysis.
Data Import & Export Cartographic Projections & Georeferencing Numerous Raster & Vector Data Tools Image Processing Terrain Analysis Geostatistics and many more Image Analysis

Raster Tools

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Graphical User Interface


Workspace Histogram Attributes Properties

Map View

Print Layout

Scatterplot

Notifications

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Scripting
With the SAGA command line interpreter SAGA CMD you can execute module calculations from a command line or shell. This is not very user friendly, but allows to write batch/shell scripts for further automation of process flows. Tip: A batch script template for executing a module can easily be created via the context menu of a module in the SAGA GUI.

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Scripting
Via the SWIG compiler (Simplified Wrapper and Interface Generator) it is possible to expose the SAGA API as well as SAGA modules to various (script) programming languages, e.g. Python, Java, C#, R.

www.swig.org

RSAGA

The Python interface allows to run SAGA modules from (web)server processes and the integration with many other software e.g. ArcGIS. SAGA modules can be execute directly from R Scripts via the RSAGA interface.
Python scripts

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Users, Resources, Feedback, Training

User Forum

Visits to the SAGA homepage (August 2010)

WiKi

SAGA GIS Workshop & Seminar 2007/08

GEOSTAT Summerschool 2009/10

Vern Cimmerys User Guide

SAGA User Group Association

Introduction to SAGA

GEOSTAT 2012

SAGA | Further Information Explore the world of SAGA GIS http://www.saga-gis.org


Basic information Comprehensive list of references

www.saga-gis.org

http://sourceforge.net/projects/saga-gis
SourceForge > host for OSS projects Download software, documents, data SAGA Wiki Bug, Feature Tracker User Forum User Guide and Manual

sourceforge.net/projects/saga-gis

User Forum

WiKi

Vern Cimmerys User Guide

S-ar putea să vă placă și