SlideShare une entreprise Scribd logo
1  sur  78
Télécharger pour lire hors ligne
FAO- Global Soil
Partnership
Training on
Digital Soil Organic Carbon
Mapping
20-24 January 2018
Tehran/Iran
Yusuf YIGINI, PhD - FAO, Land and Water Division (CBL)
Guillermo Federico Olmedo, PhD - FAO, Land and Water Division (CBL)
DSM Software
GSP GSOCMap Cookbook Manual recommends
using open source software.
The instructions and screen captures below will
guide you through installing and manually
configuring the software to be used for digital soil
mapping procedures
Complete list of GIS Tools And Software
https://en.wikipedia.org/wiki/List_of_geographic_i
nformation_systems_software
SAGA GIS
SAGA is the abbreviation for System for Automated
Geoscientific Analyses
SAGA is a Free Open Source Software (FOSS),
which generally means that you have the freedom
SAGA GIS
SAGA is the abbreviation for System for Automated
Geoscientific Analyses
SAGA is a Free Open Source Software (FOSS),
which generally means that you have the freedom
Download: http://www.saga-
gis.org/en/index.html
SAGA GIS
SAGA is the abbreviation for System for Automated
Geoscientific Analyses
SAGA is a Free Open Source Software (FOSS),
which generally means that you have the freedom
Download: http://www.saga-
gis.org/en/index.html
STANDART MODULES
Gridding
Geostatistics
Grid calculator
Grid discretisation
Grid tools
Image classification
Projections
Simulation of dynamic processes
Terrain analysis
Vector tools
Installing SAGA GIS
Download the ZIP of the latest SAGA MS Windows
binary release (sagaversionbin_mswvc.zip) and
extract all files to a directory of your choice.
Alternatively you can download the installer
sagaversionsetup.exe and execute the file.
http://sourceforge.net/project/showfiles.php?grou
p_id=102728
Installing SAGA GIS
Installing SAGA GIS
Installing SAGA GIS
QGis
QGIS is a user friendly Open Source
Geographic Information System (GIS)
licensed under the GNU General
Public License. QGIS is an official
project of the Open Source
Geospatial Foundation (OSGeo). It
runs on Linux, Unix, Mac OSX,
Windows and Android and supports
numerous vector, raster, and
database formats and functionalities.
QGis
QGIS is a user friendly Open Source
Geographic Information System (GIS)
licensed under the GNU General
Public License. QGIS is an official
project of the Open Source
Geospatial Foundation (OSGeo). It
runs on Linux, Unix, Mac OSX,
Windows and Android and supports
numerous vector, raster, and
database formats and functionalities.
QGis
QGIS is a user friendly Open Source
Geographic Information System (GIS)
licensed under the GNU General
Public License. QGIS is an official
project of the Open Source
Geospatial Foundation (OSGeo). It
runs on Linux, Unix, Mac OSX,
Windows and Android and supports
numerous vector, raster, and
database formats and functionalities.
● View data
● Explore data and compose maps
● Create, edit, manage and export data
● Analyze data
● Publish maps on the Internet
● Extend QGIS functionality through
plugins
● External Python Plugins
● Python Console
Installing - QGIS
The current version is QGIS 2.18.6 'Las Palmas' and was
released on 07.04.2017.
QGIS is available on Windows, MacOS X, Linux and
Android.
Binary packages (installers) for current stable version
2.18 can be downloaded at
http://www.qgis.org/en/site/forusers/download.html
Installing - QGIS
The current version is QGIS 2.18.6 'Las Palmas' and was
released on 07.04.2017.
QGIS is available on Windows, MacOS X, Linux and
Android.
Binary packages (installers) for current stable version
2.18 can be downloaded at
http://www.qgis.org/en/site/forusers/download.html
Installing - QGIS
R and R Studio
R is a language and environment for statistical
computing. R provides a wide variety of statistical
(linear modelling, statistical tests, time-series,
classification, clustering, …) and graphical methods,
and is highly extensible.
R and R Studio
R was originally developed in 1992 by Ross Ihaka
and Robert Gentleman at the University of
Auckland (New Zealand). The R language is a
dialect of the S language which was developed by
John Chambers at Bell Laboratories. This software
is currently maintained by the R Development Core
Team, which consists of more than a dozen people,
and includes Ihaka, Gentleman, and Chambers.
R and R Studio
Additionally, many other people have contributed
code to R since it was first released. The source
code for R is available under the GNU General
Public Licence, meaning that users can modify,
copy, and redistribute the software or derivatives,
as long as the modified source code is made
available. R is regularly updated, however,
changes are usually not major.
Using R for Digital Soil Mapping,
Brendan P. Malone • Budiman
Minasny Alex B. McBratney
R- Advantages
• R is free and open source software, allowing
anyone to use and, importantly, to modify it. R is
licensed under the GNU General Public License,
with copyright held by The R Foundation for
Statistical Computing.
• R has no license restrictions (other than ensuring
our freedom to use it at our own discretion), and
so it can be run anywhere and at any time.
R- Advantages
• The graphical capabilities of R are outstanding,
providing a fully programmable graphics language
that surpasses most other statistical and graphical
packages.
• The validity of the R software is ensured through
openly validated. Because R is open source, unlike
closed source commercial software, it has been
reviewed by many internationally renowned
statisticians and computational scientists.
R- Advantages
• Anyone is welcome to provide bug fixes, code
enhancements, and new packages, and the
wealth of quality packages available for R is a
testament to this approach to software
development and sharing.
• Currently, the CRAN package repository features
10489 available packages from multiple
repositories specializing in topics like
econometrics, data mining, spatial analysis, and
bio-informatics.
R- Advantages
• R is cross-platform. R runs on many operating
systems and different hardware. It is popularly
used on GNU/Linux, Macintosh, and Microsoft
Windows, running on both 32 and 64 bit
processors.
• R plays well with many other tools, importing
data, for example, from CSV files, SAS, and SPSS,
Minitab or directly from Microsoft Excel,
Microsoft Access, Oracle, MySQL, and SQLite. It
can also produce graphics output in several image
formats, and table output for LATEX and HTML.
R- Advantages
• R has active user groups where questions can be
asked and are often quickly responded to, often
by the very people who developed the
environment|this support is second to none.
• New books for R (the Springer Use R! series) are
emerging, and there is now a very good library of
books for using R.
R- Disadvantages
R has a steep learning curve. it does take a while to
get used to . But no steeper than for other
statistical languages. R is not so easy to use for the
novice. There are several simple-to use graphical
user interfaces (GUIs) for R that enable point and-
click interactions, but they generally do not have
the polish of the commercial offerings.
R- Disadvantages
R- Disadvantages
R- Disadvantages
Documentation is sometimes patchy and not
easy to understand.
R- Disadvantages
Some R commands give little thought to
memory management, and so R can very
quickly consume all available memory. This can
be a restriction when doing data mining at large
scales. There are various solutions, including
using 64 than 32 bit OS.
R- Disadvantages
There is, in general, no one to complain to if
something doesn’t work. R is a software
application that many people freely devote their
own time to developing. Problems are usually
dealt with quickly on the open mailing lists, and
bugs disappear with lightning speed. Users who
do require it can purchase support from a
number of vendors internationally.
R- Disadvantages
it is sometimes difficult to manage if your code
grows bigger. it is possible if you really pay
attention to strict rules which are not imposed by
the language.
RStudio is an integrated
development
environment (IDE) for R.
It includes a console,
syntax-highlighting
editor that supports
direct code execution,
as well as tools for
plotting, history,
debugging and
workspace
management.
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Obtaining and Installing R
Installing RStudio
● Beginners will find very hard to start using R because it has
no Graphical User Interface (GUI). There are some GUIs
which offer some of the functionality of R. RStudio makes R
easier to use. It includes a code editor, debugging and
visualization tools. In this training we will use RStudio which
makes R easier to use.
● R Studio’s Open Source Edition can be downloaded at
https://www.rstudio.com/products/rstudio/download/ . On
the download page, “RStudio Desktop, Open Source
License” option should be selected.
Installing RStudio
You can follow very similar steps to install RStudio.
Installing RStudio
Installing RStudio
Installing RStudio
Installing RStudio
Installing RStudio
Installing RStudio
CODE EDITOR
R- CODE
CONSOLE
History, Environment
Plots, Files
Installing RStudio
CODE EDITOR
R- CODE
CONSOLE
History, Environment
Plots, Files
Getting Started - R
R Packages
● When you download R, you get that ``base" R
system
● The R system comes with basics; implements
the R language
● R becomes so useful with the large collection of
packages that extend the basic functionality of
R
● R packages are developed by the R community
Finding R Packages
● The primary source for the R packages is
CRAN’s official website. For spatial
applications, many packages are available.
● You can obtain information about the available
packages on CRAN with the
available.packages() function. The function
returns a matrix of details corresponding to
packages currently available at one or more
repositories.
Finding R Packages
● The primary source for the R packages is
CRAN’s official website. For spatial
applications, many packages are available.
● You can obtain information about the available
packages on CRAN with the
available.packages() function. The function
returns a matrix of details corresponding to
packages currently available at one or more
repositories.
Finding R Packages
Finding R Packages
For example, the Task View for Analysis of Spatial Data can
be accessed at: https://CRAN.R-project.org/view=Spatial.
Finding R Packages
The following the code installs the “ggplot2” package from CRAN
> install.packages("ggplot2")
Finding R Packages
The packages can be installed also using the graphical user
interface.
Finding R Packages
The packages can be installed also using the graphical user
interface.
R - DSM Packages
Most used R Packages for Digital Soil Mapping
As was previously mentioned, R is extensible
trough packages.
R packages are collections of R functions, data,
documentation and compiled code easy to share
with others. There are more than 10000 R
packages available on the Comprehensive R
Archive Network (CRAN) (cran.r-project.org).
R - DSM Packages
Soil Science and Pedometrics
aqp: Algorithms for quantitative pedology. http://cran.r-project.org/web/
packages/aqp/index.html. A collection of algorithms related to modeling of soil
resources, soil classification, soil profile aggregation, and visualization..
GSIF: Global soil information facility. http://cran.r-project.org/web/packages/
GSIF/index.html. Tools, functions and sample datasets for digital soil mapping.
Global Soil Information Facilities - tools (standards and functions) and sample
datasets for global soil mapping.
> install.packages("aqp")
> install.packages("GSIF")
R - DSM Packages
Spatial Analysis
sp: http://cran.r-project.org/web/packages/sp/index.html. A package that provides
classes and methods for spatial data. The classes document where the spatial location
information resides, for 2D or 3D data.
raster: http://cran.r-project.org/web/packages/raster/index.html. Reading, writing,
manipulating, analyzing and modeling of gridded spatial data. The package
implements basic and high-level functions and processing of very large files is
supported.
> install.packages("sp")
> install.packages("raster")
R - DSM Packages
Spatial Analysis
rgdal: http://cran.r-project.org/web/packages/rgdal/index.html. Provides bindings to
Frank Warmerdam’s Geospatial Data Abstraction Library (GDAL).
RSAGA: http://cran.r-project.org/web/packages/RSAGA/index.html. RSAGA provides
access to geocomputing and terrain analysis functions of SAGA GIS http://www.saga-
gis.org/en/index.html from within R by running the command line version of SAGA.
> install.packages("rgdal")
> install.packages("RSAGA")
R - DSM Packages
Modeling
caret: http://cran.r-project.org/web/packages/caret/index.html.
Extensive range of functions for training and plotting classification and
regression models.
Cubist: http://cran.r-project.org/web/packages/Cubist/index.html.
Regression modeling using rules with added instance-based
corrections. Cubist models were developed by Ross Quinlan.
C5.0: http://cran.r-project.org/web/packages/C50/index.html. C5.0
decision trees and rule-based
> install.packages("caret")
> install.packages("Cubist")
> install.packages("C50")
R - DSM Packages
Modeling
gam: http://cran.r-project.org/web/packages/gam/index.html.
Functions for fitting and working with generalized additive
models.
nnet: http://cran.r-project.org/web/packages/nnet/index.html.
Software for feed-forward neural networks with a single hidden
layer, and for multinomial log-linear models.
> install.packages("gam")
> install.packages("nnet")
R - DSM Packages
Modeling
gstat: http://cran.r-project.org/web/packages/gstat/. Variogram
modelling; simple, ordinary and universal point or block
(co)kriging, sequential Gaussian or indicator (co)simulation;
variogram and variogram map plotting utility functions.
> install.packages("gstat")
R - DSM Packages
Mapping and Plotting
Both raster and sp have handy functions for plotting spatial
data. Besides using the base plotting functionality, another
useful plotting package is ggplot2 http://cran.r-
project.org/web/packages/ggplot2/index.html
plotKML: Writes sp-class, spacetime-class, raster-class and
similar spatial and spatio-temporal objects to KML following
some basic cartographic rules.
> install.packages("plotKML")
The easiest way to get help in R is using the ‘?’ operator.
Just append a ‘?’ before the name of a function you want to
get help, R will open find information about the function from
the set of installed packages. If you want to search for it
outside the installed packages, use ‘??’ before the function
name. ?? can also help search for partial and incomplete
terms.
R - Getting Help
help (merge) # get help page for 'merge'
?merge # lookup 'merge' from installed pkgs
??merge # search
example (merge) # show code examples
Working Directory
What is a working directory and how to set up
one?
-A working directory is the reference directory from
which R has direct access to read in files.
-You can read in and write files directly to the
working directory without using the full file path. -
The directory names should be separated by
forward slash (/) or double back slash () instead
of () even for a windows PC.
Working Directory
> setwd("c:/")
> setwd("c:")
> getwd()
[1] "c:/"
Working Directory
Exercise: Setup your working directory
to a new 'work' folder in your desktop
Error Handling
There are several ways to handle error messages in R.
The first and the most simple way is to tell R not to display
any error messages, no matter how bad it is :)
Try the following code in your R console, you will notice
that you R does not display error messages right after turn
error messages OFF. You can turn it back ON by setting
this to TRUE again.
> setwd("f:/")
Error in setwd("f:/") : cannot change working directory
> options(show.error.messages=F) # turn off
> setwd("f:/")
Error Handling
Though you have turned off displaying error messages
above, you have not actually ‘handled’ it. You can say the
error messages are ‘handled’ when you are able to
perform some alternative measures in the event errors
happen.
More on Error Handling: https://www.r-bloggers.com/error-
handling-in-r/
Next: Introduction to Digital Soil
Mapping (DSM) and review of software

Contenu connexe

Similaire à DSM software tools

Open Source GIS
Open Source GISOpen Source GIS
Open Source GISJoe Larson
 
R as supporting tool for analytics and simulation
R as supporting tool for analytics and simulationR as supporting tool for analytics and simulation
R as supporting tool for analytics and simulationAlvaro Gil
 
Open source analytics
Open source analyticsOpen source analytics
Open source analyticsAjay Ohri
 
c,c++,java and python in gis development
c,c++,java and python in gis developmentc,c++,java and python in gis development
c,c++,java and python in gis developmentSakthivel R
 
Collected List of Business Intelligence Software
Collected List of Business Intelligence SoftwareCollected List of Business Intelligence Software
Collected List of Business Intelligence SoftwareMaurice Dawson
 
Sistemi Informativi Territoriali e Software Libero
Sistemi Informativi Territoriali e Software LiberoSistemi Informativi Territoriali e Software Libero
Sistemi Informativi Territoriali e Software LiberoMaurizio Napolitano
 
OSGeo Live Lightening Overview
OSGeo Live Lightening OverviewOSGeo Live Lightening Overview
OSGeo Live Lightening OverviewJody Garnett
 
Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020Marié Roux
 
Useful Open Source Software
Useful Open Source SoftwareUseful Open Source Software
Useful Open Source Softwarepramoddps
 
Free remote sensing and GIS data
Free remote sensing and GIS dataFree remote sensing and GIS data
Free remote sensing and GIS dataNopphawanTamkuan
 
Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)Marié Roux
 
Use of Open Source in Education Sector.pptx
Use of Open Source in Education Sector.pptxUse of Open Source in Education Sector.pptx
Use of Open Source in Education Sector.pptxswaranjaggi
 
Big data Big Analytics
Big data Big AnalyticsBig data Big Analytics
Big data Big AnalyticsAjay Ohri
 
Code, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers wayCode, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers wayAlex Baitov
 
Study of R Programming
Study of R ProgrammingStudy of R Programming
Study of R ProgrammingIRJET Journal
 
Defining Open
Defining OpenDefining Open
Defining OpenEsri
 
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 

Similaire à DSM software tools (20)

Open Source GIS
Open Source GISOpen Source GIS
Open Source GIS
 
R as supporting tool for analytics and simulation
R as supporting tool for analytics and simulationR as supporting tool for analytics and simulation
R as supporting tool for analytics and simulation
 
Open source analytics
Open source analyticsOpen source analytics
Open source analytics
 
c,c++,java and python in gis development
c,c++,java and python in gis developmentc,c++,java and python in gis development
c,c++,java and python in gis development
 
Collected List of Business Intelligence Software
Collected List of Business Intelligence SoftwareCollected List of Business Intelligence Software
Collected List of Business Intelligence Software
 
Sistemi Informativi Territoriali e Software Libero
Sistemi Informativi Territoriali e Software LiberoSistemi Informativi Territoriali e Software Libero
Sistemi Informativi Territoriali e Software Libero
 
OSGeo Live Lightening Overview
OSGeo Live Lightening OverviewOSGeo Live Lightening Overview
OSGeo Live Lightening Overview
 
Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020Overview data analyis and visualisation tools 2020
Overview data analyis and visualisation tools 2020
 
Useful Open Source Software
Useful Open Source SoftwareUseful Open Source Software
Useful Open Source Software
 
Free remote sensing and GIS data
Free remote sensing and GIS dataFree remote sensing and GIS data
Free remote sensing and GIS data
 
Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)Overview of tools for data analysis and visualisation (2021)
Overview of tools for data analysis and visualisation (2021)
 
Use of Open Source in Education Sector.pptx
Use of Open Source in Education Sector.pptxUse of Open Source in Education Sector.pptx
Use of Open Source in Education Sector.pptx
 
Statistical Software
Statistical SoftwareStatistical Software
Statistical Software
 
R presentation
R presentationR presentation
R presentation
 
Big data Big Analytics
Big data Big AnalyticsBig data Big Analytics
Big data Big Analytics
 
Code, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers wayCode, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers way
 
Study of R Programming
Study of R ProgrammingStudy of R Programming
Study of R Programming
 
Defining Open
Defining OpenDefining Open
Defining Open
 
Bcs Talk Notes
Bcs Talk NotesBcs Talk Notes
Bcs Talk Notes
 
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
 

Plus de FAO

Nigeria
NigeriaNigeria
NigeriaFAO
 
Niger
NigerNiger
NigerFAO
 
Namibia
NamibiaNamibia
NamibiaFAO
 
Mozambique
MozambiqueMozambique
MozambiqueFAO
 
Zimbabwe takesure
Zimbabwe takesureZimbabwe takesure
Zimbabwe takesureFAO
 
Zimbabwe
ZimbabweZimbabwe
ZimbabweFAO
 
Zambia
ZambiaZambia
ZambiaFAO
 
Togo
TogoTogo
TogoFAO
 
Tanzania
TanzaniaTanzania
TanzaniaFAO
 
Spal presentation
Spal presentationSpal presentation
Spal presentationFAO
 
Rwanda
RwandaRwanda
RwandaFAO
 
Nigeria uponi
Nigeria uponiNigeria uponi
Nigeria uponiFAO
 
The multi-faced role of soil in the NENA regions (part 2)
The multi-faced role of soil in the NENA regions (part 2)The multi-faced role of soil in the NENA regions (part 2)
The multi-faced role of soil in the NENA regions (part 2)FAO
 
The multi-faced role of soil in the NENA regions (part 1)
The multi-faced role of soil in the NENA regions (part 1)The multi-faced role of soil in the NENA regions (part 1)
The multi-faced role of soil in the NENA regions (part 1)FAO
 
Agenda of the launch of the soil policy brief at the Land&Water Days
Agenda of the launch of the soil policy brief at the Land&Water DaysAgenda of the launch of the soil policy brief at the Land&Water Days
Agenda of the launch of the soil policy brief at the Land&Water DaysFAO
 
Agenda of the 5th NENA Soil Partnership meeting
Agenda of the 5th NENA Soil Partnership meetingAgenda of the 5th NENA Soil Partnership meeting
Agenda of the 5th NENA Soil Partnership meetingFAO
 
The Voluntary Guidelines for Sustainable Soil Management
The Voluntary Guidelines for Sustainable Soil ManagementThe Voluntary Guidelines for Sustainable Soil Management
The Voluntary Guidelines for Sustainable Soil ManagementFAO
 
GLOSOLAN - Mission, status and way forward
GLOSOLAN - Mission, status and way forwardGLOSOLAN - Mission, status and way forward
GLOSOLAN - Mission, status and way forwardFAO
 
Towards a Global Soil Information System (GLOSIS)
Towards a Global Soil Information System (GLOSIS)Towards a Global Soil Information System (GLOSIS)
Towards a Global Soil Information System (GLOSIS)FAO
 
GSP developments of regional interest in 2019
GSP developments of regional interest in 2019GSP developments of regional interest in 2019
GSP developments of regional interest in 2019FAO
 

Plus de FAO (20)

Nigeria
NigeriaNigeria
Nigeria
 
Niger
NigerNiger
Niger
 
Namibia
NamibiaNamibia
Namibia
 
Mozambique
MozambiqueMozambique
Mozambique
 
Zimbabwe takesure
Zimbabwe takesureZimbabwe takesure
Zimbabwe takesure
 
Zimbabwe
ZimbabweZimbabwe
Zimbabwe
 
Zambia
ZambiaZambia
Zambia
 
Togo
TogoTogo
Togo
 
Tanzania
TanzaniaTanzania
Tanzania
 
Spal presentation
Spal presentationSpal presentation
Spal presentation
 
Rwanda
RwandaRwanda
Rwanda
 
Nigeria uponi
Nigeria uponiNigeria uponi
Nigeria uponi
 
The multi-faced role of soil in the NENA regions (part 2)
The multi-faced role of soil in the NENA regions (part 2)The multi-faced role of soil in the NENA regions (part 2)
The multi-faced role of soil in the NENA regions (part 2)
 
The multi-faced role of soil in the NENA regions (part 1)
The multi-faced role of soil in the NENA regions (part 1)The multi-faced role of soil in the NENA regions (part 1)
The multi-faced role of soil in the NENA regions (part 1)
 
Agenda of the launch of the soil policy brief at the Land&Water Days
Agenda of the launch of the soil policy brief at the Land&Water DaysAgenda of the launch of the soil policy brief at the Land&Water Days
Agenda of the launch of the soil policy brief at the Land&Water Days
 
Agenda of the 5th NENA Soil Partnership meeting
Agenda of the 5th NENA Soil Partnership meetingAgenda of the 5th NENA Soil Partnership meeting
Agenda of the 5th NENA Soil Partnership meeting
 
The Voluntary Guidelines for Sustainable Soil Management
The Voluntary Guidelines for Sustainable Soil ManagementThe Voluntary Guidelines for Sustainable Soil Management
The Voluntary Guidelines for Sustainable Soil Management
 
GLOSOLAN - Mission, status and way forward
GLOSOLAN - Mission, status and way forwardGLOSOLAN - Mission, status and way forward
GLOSOLAN - Mission, status and way forward
 
Towards a Global Soil Information System (GLOSIS)
Towards a Global Soil Information System (GLOSIS)Towards a Global Soil Information System (GLOSIS)
Towards a Global Soil Information System (GLOSIS)
 
GSP developments of regional interest in 2019
GSP developments of regional interest in 2019GSP developments of regional interest in 2019
GSP developments of regional interest in 2019
 

Dernier

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Dernier (20)

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

DSM software tools

  • 1. FAO- Global Soil Partnership Training on Digital Soil Organic Carbon Mapping 20-24 January 2018 Tehran/Iran Yusuf YIGINI, PhD - FAO, Land and Water Division (CBL) Guillermo Federico Olmedo, PhD - FAO, Land and Water Division (CBL)
  • 2. DSM Software GSP GSOCMap Cookbook Manual recommends using open source software. The instructions and screen captures below will guide you through installing and manually configuring the software to be used for digital soil mapping procedures
  • 3. Complete list of GIS Tools And Software https://en.wikipedia.org/wiki/List_of_geographic_i nformation_systems_software
  • 4. SAGA GIS SAGA is the abbreviation for System for Automated Geoscientific Analyses SAGA is a Free Open Source Software (FOSS), which generally means that you have the freedom
  • 5. SAGA GIS SAGA is the abbreviation for System for Automated Geoscientific Analyses SAGA is a Free Open Source Software (FOSS), which generally means that you have the freedom Download: http://www.saga- gis.org/en/index.html
  • 6. SAGA GIS SAGA is the abbreviation for System for Automated Geoscientific Analyses SAGA is a Free Open Source Software (FOSS), which generally means that you have the freedom Download: http://www.saga- gis.org/en/index.html STANDART MODULES Gridding Geostatistics Grid calculator Grid discretisation Grid tools Image classification Projections Simulation of dynamic processes Terrain analysis Vector tools
  • 7. Installing SAGA GIS Download the ZIP of the latest SAGA MS Windows binary release (sagaversionbin_mswvc.zip) and extract all files to a directory of your choice. Alternatively you can download the installer sagaversionsetup.exe and execute the file. http://sourceforge.net/project/showfiles.php?grou p_id=102728
  • 11. QGis QGIS is a user friendly Open Source Geographic Information System (GIS) licensed under the GNU General Public License. QGIS is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX, Windows and Android and supports numerous vector, raster, and database formats and functionalities.
  • 12. QGis QGIS is a user friendly Open Source Geographic Information System (GIS) licensed under the GNU General Public License. QGIS is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX, Windows and Android and supports numerous vector, raster, and database formats and functionalities.
  • 13. QGis QGIS is a user friendly Open Source Geographic Information System (GIS) licensed under the GNU General Public License. QGIS is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX, Windows and Android and supports numerous vector, raster, and database formats and functionalities. ● View data ● Explore data and compose maps ● Create, edit, manage and export data ● Analyze data ● Publish maps on the Internet ● Extend QGIS functionality through plugins ● External Python Plugins ● Python Console
  • 14. Installing - QGIS The current version is QGIS 2.18.6 'Las Palmas' and was released on 07.04.2017. QGIS is available on Windows, MacOS X, Linux and Android. Binary packages (installers) for current stable version 2.18 can be downloaded at http://www.qgis.org/en/site/forusers/download.html
  • 15. Installing - QGIS The current version is QGIS 2.18.6 'Las Palmas' and was released on 07.04.2017. QGIS is available on Windows, MacOS X, Linux and Android. Binary packages (installers) for current stable version 2.18 can be downloaded at http://www.qgis.org/en/site/forusers/download.html
  • 17. R and R Studio R is a language and environment for statistical computing. R provides a wide variety of statistical (linear modelling, statistical tests, time-series, classification, clustering, …) and graphical methods, and is highly extensible.
  • 18. R and R Studio R was originally developed in 1992 by Ross Ihaka and Robert Gentleman at the University of Auckland (New Zealand). The R language is a dialect of the S language which was developed by John Chambers at Bell Laboratories. This software is currently maintained by the R Development Core Team, which consists of more than a dozen people, and includes Ihaka, Gentleman, and Chambers.
  • 19. R and R Studio Additionally, many other people have contributed code to R since it was first released. The source code for R is available under the GNU General Public Licence, meaning that users can modify, copy, and redistribute the software or derivatives, as long as the modified source code is made available. R is regularly updated, however, changes are usually not major. Using R for Digital Soil Mapping, Brendan P. Malone • Budiman Minasny Alex B. McBratney
  • 20. R- Advantages • R is free and open source software, allowing anyone to use and, importantly, to modify it. R is licensed under the GNU General Public License, with copyright held by The R Foundation for Statistical Computing. • R has no license restrictions (other than ensuring our freedom to use it at our own discretion), and so it can be run anywhere and at any time.
  • 21. R- Advantages • The graphical capabilities of R are outstanding, providing a fully programmable graphics language that surpasses most other statistical and graphical packages. • The validity of the R software is ensured through openly validated. Because R is open source, unlike closed source commercial software, it has been reviewed by many internationally renowned statisticians and computational scientists.
  • 22. R- Advantages • Anyone is welcome to provide bug fixes, code enhancements, and new packages, and the wealth of quality packages available for R is a testament to this approach to software development and sharing. • Currently, the CRAN package repository features 10489 available packages from multiple repositories specializing in topics like econometrics, data mining, spatial analysis, and bio-informatics.
  • 23. R- Advantages • R is cross-platform. R runs on many operating systems and different hardware. It is popularly used on GNU/Linux, Macintosh, and Microsoft Windows, running on both 32 and 64 bit processors. • R plays well with many other tools, importing data, for example, from CSV files, SAS, and SPSS, Minitab or directly from Microsoft Excel, Microsoft Access, Oracle, MySQL, and SQLite. It can also produce graphics output in several image formats, and table output for LATEX and HTML.
  • 24. R- Advantages • R has active user groups where questions can be asked and are often quickly responded to, often by the very people who developed the environment|this support is second to none. • New books for R (the Springer Use R! series) are emerging, and there is now a very good library of books for using R.
  • 25. R- Disadvantages R has a steep learning curve. it does take a while to get used to . But no steeper than for other statistical languages. R is not so easy to use for the novice. There are several simple-to use graphical user interfaces (GUIs) for R that enable point and- click interactions, but they generally do not have the polish of the commercial offerings.
  • 28. R- Disadvantages Documentation is sometimes patchy and not easy to understand.
  • 29. R- Disadvantages Some R commands give little thought to memory management, and so R can very quickly consume all available memory. This can be a restriction when doing data mining at large scales. There are various solutions, including using 64 than 32 bit OS.
  • 30. R- Disadvantages There is, in general, no one to complain to if something doesn’t work. R is a software application that many people freely devote their own time to developing. Problems are usually dealt with quickly on the open mailing lists, and bugs disappear with lightning speed. Users who do require it can purchase support from a number of vendors internationally.
  • 31. R- Disadvantages it is sometimes difficult to manage if your code grows bigger. it is possible if you really pay attention to strict rules which are not imposed by the language.
  • 32. RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.
  • 46. Installing RStudio ● Beginners will find very hard to start using R because it has no Graphical User Interface (GUI). There are some GUIs which offer some of the functionality of R. RStudio makes R easier to use. It includes a code editor, debugging and visualization tools. In this training we will use RStudio which makes R easier to use. ● R Studio’s Open Source Edition can be downloaded at https://www.rstudio.com/products/rstudio/download/ . On the download page, “RStudio Desktop, Open Source License” option should be selected.
  • 47. Installing RStudio You can follow very similar steps to install RStudio.
  • 53. Installing RStudio CODE EDITOR R- CODE CONSOLE History, Environment Plots, Files
  • 54. Installing RStudio CODE EDITOR R- CODE CONSOLE History, Environment Plots, Files
  • 56. R Packages ● When you download R, you get that ``base" R system ● The R system comes with basics; implements the R language ● R becomes so useful with the large collection of packages that extend the basic functionality of R ● R packages are developed by the R community
  • 57. Finding R Packages ● The primary source for the R packages is CRAN’s official website. For spatial applications, many packages are available. ● You can obtain information about the available packages on CRAN with the available.packages() function. The function returns a matrix of details corresponding to packages currently available at one or more repositories.
  • 58. Finding R Packages ● The primary source for the R packages is CRAN’s official website. For spatial applications, many packages are available. ● You can obtain information about the available packages on CRAN with the available.packages() function. The function returns a matrix of details corresponding to packages currently available at one or more repositories.
  • 60. Finding R Packages For example, the Task View for Analysis of Spatial Data can be accessed at: https://CRAN.R-project.org/view=Spatial.
  • 61. Finding R Packages The following the code installs the “ggplot2” package from CRAN > install.packages("ggplot2")
  • 62. Finding R Packages The packages can be installed also using the graphical user interface.
  • 63. Finding R Packages The packages can be installed also using the graphical user interface.
  • 64. R - DSM Packages Most used R Packages for Digital Soil Mapping As was previously mentioned, R is extensible trough packages. R packages are collections of R functions, data, documentation and compiled code easy to share with others. There are more than 10000 R packages available on the Comprehensive R Archive Network (CRAN) (cran.r-project.org).
  • 65. R - DSM Packages Soil Science and Pedometrics aqp: Algorithms for quantitative pedology. http://cran.r-project.org/web/ packages/aqp/index.html. A collection of algorithms related to modeling of soil resources, soil classification, soil profile aggregation, and visualization.. GSIF: Global soil information facility. http://cran.r-project.org/web/packages/ GSIF/index.html. Tools, functions and sample datasets for digital soil mapping. Global Soil Information Facilities - tools (standards and functions) and sample datasets for global soil mapping. > install.packages("aqp") > install.packages("GSIF")
  • 66. R - DSM Packages Spatial Analysis sp: http://cran.r-project.org/web/packages/sp/index.html. A package that provides classes and methods for spatial data. The classes document where the spatial location information resides, for 2D or 3D data. raster: http://cran.r-project.org/web/packages/raster/index.html. Reading, writing, manipulating, analyzing and modeling of gridded spatial data. The package implements basic and high-level functions and processing of very large files is supported. > install.packages("sp") > install.packages("raster")
  • 67. R - DSM Packages Spatial Analysis rgdal: http://cran.r-project.org/web/packages/rgdal/index.html. Provides bindings to Frank Warmerdam’s Geospatial Data Abstraction Library (GDAL). RSAGA: http://cran.r-project.org/web/packages/RSAGA/index.html. RSAGA provides access to geocomputing and terrain analysis functions of SAGA GIS http://www.saga- gis.org/en/index.html from within R by running the command line version of SAGA. > install.packages("rgdal") > install.packages("RSAGA")
  • 68. R - DSM Packages Modeling caret: http://cran.r-project.org/web/packages/caret/index.html. Extensive range of functions for training and plotting classification and regression models. Cubist: http://cran.r-project.org/web/packages/Cubist/index.html. Regression modeling using rules with added instance-based corrections. Cubist models were developed by Ross Quinlan. C5.0: http://cran.r-project.org/web/packages/C50/index.html. C5.0 decision trees and rule-based > install.packages("caret") > install.packages("Cubist") > install.packages("C50")
  • 69. R - DSM Packages Modeling gam: http://cran.r-project.org/web/packages/gam/index.html. Functions for fitting and working with generalized additive models. nnet: http://cran.r-project.org/web/packages/nnet/index.html. Software for feed-forward neural networks with a single hidden layer, and for multinomial log-linear models. > install.packages("gam") > install.packages("nnet")
  • 70. R - DSM Packages Modeling gstat: http://cran.r-project.org/web/packages/gstat/. Variogram modelling; simple, ordinary and universal point or block (co)kriging, sequential Gaussian or indicator (co)simulation; variogram and variogram map plotting utility functions. > install.packages("gstat")
  • 71. R - DSM Packages Mapping and Plotting Both raster and sp have handy functions for plotting spatial data. Besides using the base plotting functionality, another useful plotting package is ggplot2 http://cran.r- project.org/web/packages/ggplot2/index.html plotKML: Writes sp-class, spacetime-class, raster-class and similar spatial and spatio-temporal objects to KML following some basic cartographic rules. > install.packages("plotKML")
  • 72. The easiest way to get help in R is using the ‘?’ operator. Just append a ‘?’ before the name of a function you want to get help, R will open find information about the function from the set of installed packages. If you want to search for it outside the installed packages, use ‘??’ before the function name. ?? can also help search for partial and incomplete terms. R - Getting Help help (merge) # get help page for 'merge' ?merge # lookup 'merge' from installed pkgs ??merge # search example (merge) # show code examples
  • 73. Working Directory What is a working directory and how to set up one? -A working directory is the reference directory from which R has direct access to read in files. -You can read in and write files directly to the working directory without using the full file path. - The directory names should be separated by forward slash (/) or double back slash () instead of () even for a windows PC.
  • 74. Working Directory > setwd("c:/") > setwd("c:") > getwd() [1] "c:/"
  • 75. Working Directory Exercise: Setup your working directory to a new 'work' folder in your desktop
  • 76. Error Handling There are several ways to handle error messages in R. The first and the most simple way is to tell R not to display any error messages, no matter how bad it is :) Try the following code in your R console, you will notice that you R does not display error messages right after turn error messages OFF. You can turn it back ON by setting this to TRUE again. > setwd("f:/") Error in setwd("f:/") : cannot change working directory > options(show.error.messages=F) # turn off > setwd("f:/")
  • 77. Error Handling Though you have turned off displaying error messages above, you have not actually ‘handled’ it. You can say the error messages are ‘handled’ when you are able to perform some alternative measures in the event errors happen. More on Error Handling: https://www.r-bloggers.com/error- handling-in-r/
  • 78. Next: Introduction to Digital Soil Mapping (DSM) and review of software