17.27. Outros programas

Módulo elaborado por Paolo Cavallini - Faunalia

Nota

Este capítulo mostra como usar programas adicionais de dentro do Processing. Para completá-lo, você deve ter instalado, com as ferramentas de seu sistema operacional, os pacotes relevantes.

17.27.1. GRASS

GRASS is a free and open source GIS software suite for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization

It is installed by deafult on Windows through the OSGeo4W standalone installer (32 and 64 bit), and it is packaged for all major Linux distributions.

17.27.2. R

R is a free and open source software environment for statistical computing and graphics.

It has to be installed separately, together with a few necessary libraries (LIST).

The beauty of Processing implementation is that you can add your own scripts, simplex or complex ones, and they may then be used as any other module, piped into more complex workflows, etc.

17.27.3. OTB

OTB (also known as Orfeo ToolBox) is a free and open source library of image processing algorithms. It is installed by deafult on Windows through the OSGeo4W standalone installer (32 bit). Paths should be configured in Processing.

In a standard OSgeo4W Windows installation, the paths will be:

OTB application folder    C:\OSGeo4W\apps\orfeotoolbox\applications
OTB command line tools folder C:\OSGeo4W\bin

On Debian and derivatives, it will be /usr/bin

17.27.4. Outros

TauDEM is a suite of Digital Elevation Model (DEM) tools for the extraction and analysis of hydrologic information. Availability in various operating system varies.

LASTools is a set of mixed, free and proprietary commands to process and analyze LiDAR data. Availability in various operating system varies.

More tools are available through additional plugins, e.g.:

  • LecoS: a suite for land cover statistics and landscape ecology
  • lwgeom: formerly part of PostGIS, this library brings a few useful tools for geometry cleanup
  • Animove: tools to analyse the home range of animals.

More will come.

17.27.5. Comparison among backends

17.27.5.1. Buffers and distances

Let’s load points.shp and type buf in the filter of the Toolbox, then double click on:

  • Fixed distance buffer: Distance 10000
  • Variable distance buffer: Distance field SIZE
  • v.buffer.distance: distance 10000
  • v.buffer.column: bufcolumn SIZE
  • Shapes Buffer: fixed value 10000 (dissolve and not), attribute field (with scaling)

See how speed is quite different, and different options are available.

Exercise for the reader: find the differences in geometry output between different methods.

Now, raster buffers and distances:

  • first, load and rasterize the vector rivers.shp with GRASS ‣ v.to.rast.value; beware: cell size must be set to 100 m, otherwise the computation time will be enormous; resulting map will have 1 and NULLs
  • same, with SAGA ‣ Shapes to Grid ‣ COUNT (resulting map: 6 to 60)
  • then, proximity (value= 1 for GRASS, a list of rivers ID for SAGA), r.buffer with parameters 1000,2000,3000, r.grow.distance (the first of the two maps).

17.27.5.2. Dissolver

Dissolve feições baseado em atributos comuns:

  • GRASS ‣ v.dissolve municipalities.shp em PROVINCIA

  • QGIS ‣ Dissolve municipalities.shp em PROVINCIA

  • SAGA ‣ Dissolve Polígono municipalities.shp em PROVINCIA (NB: o mesmo atributo tem de ser escolhido 3 vezes)

Aviso

O último é quebrado no SAGA <=2.10

Exercise for the reader: find the differences (geometry and attributes) between different methods.