TerraME is a programming environment for spatial dynamical modelling. It supports cellular automata, agent-based models, and network models running in 2D cell spaces. TerraME provides an interface to TerraLib geographical database, allowing models direct access to geospatial data. Its modelling language has in-built functions that makes it easier to develop multi-scale and multi-paradigm models for environmental applications.
Two important innovations in TerraME are its use of anisotropic spaces and of hybrid automata models. Anisotropic spaces arise when modeling natural and human-related phenomena. For example, land settlers in a new area do not occupy all places at the same time. They follow roads and rivers, leading to an anisotropic pattern. Anisotropic spaces are implemented in TerraME using Generalized Proximity Matrices (GPM). The GPM is an extension of the usual definition of the spatial relations and include a combination of neighborhood measures in the absolute space and in the relative space.
A hybrid automaton is an abstract model for a system whose behavior has discrete and continuous parts. It extends the idea of finite automata to allow continuous change to take place between transitions. Adopting hybrid automata in spatial dynamical models allows complex models which include critical transitions.
A vision of research motivations and directions of Environmental Modelling in INPE is available in this presentation. An early presentation of our vision is How can GIScience contribute to Land Change Modelling?, the keynote speech at GIScience 2006. The rationale for the TerraME software is presented in the lecture Modelling human-environment interactions, presented in the Vespucci Summer School 2010.
The latest version of TerraME is 1.2.2. It works under Windows (XP, Vista, and Windows 7), Mac and Linux.
|Download TerraME 1.2.2|
- TerraME became able to load, save, and visualize cellular spaces based on shapefiles (*.shp)
- TerraME has been integrated with the Mersenne Twister(MT) pseudo-random number generating algorithm, developped by Makoto Matsumoto and Takuji Nishimura (alphabetical order). TerraME team has developed a Lua binding for the C implementation provided by the authors. Now simulations can manage several sequences of pseudo-random numbers, which may be completely independent of each other.
- Added support for visualization of Societies using the following types of observer: Chart, Table, TextScreen, LogFile, Image, and UDPSender.
- TerraME API for Neighborhood, Observer, and Legend types have been improved.
- CellularSpace may now be automaticaly loaded after declaration, depending on user choice for the parameter autoload (the default value is true).
- TerraME dependencies have been upgraded to: Lua 5.2.1, Qt 4.7.3, and Qwt 5.2.1
- Examples can be found here.
- We use TerraME on our courses on Enviromental Modelling. We give regular graduate courses in the research programs in Earth System Science at INPE and Computer Science at UFOP.
- Carneiro, T. G. S. ; Andrade, P. R. ; Câmara, G. ; Monteiro, A. M. V. ; Pereira, R. R. . An extensible toolbox for modeling nature-society interactions. Environmental Modelling & Software, 2013 (in press). DOI:10.1016/j.envsoft.2013.03.002.
- Silva, S. H. C. ; Carneiro, T. G. S. ; Lima, J.. TerraME HPA: Parallel Simulation of Multi-Agent Systems over SMP. ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, 2013, Montreal.
- Rodrigues, A. J. C., Carneiro, T. G. S., Andrade, P. R.. TerraME Observer: An extensible real-time visualization pipeline for dynamic spatial models. XVIII Brazilian Symposium on Geoinformatics, Campos do Jordão, 2012.
- Evaldinólia Moreira, Sergio Costa, Ana Paula Aguiar, Gilberto Camara, Tiago Carneiro. Dynamical coupling of multiscale land change models,Landscape Ecology, 24(9), p. 1183-1194, 2009.
- Pedro Andrade, Antonio Miguel Monteiro, Gilberto Câmara, Sandra Sandri. Games on Cellular Spaces: How Mobility Affects Equilibrium.Journal of Artificial Societies and Social Simulation (JASSS), 12(1), p. 4, 2009.
- Tiago Carneiro, Gilberto Câmara, Raian Maretto. Irregular Cellular Spaces: Supporting Realistic Spatial Dynamic Modeling using Geographical Databases. X Brazilian Symposium on Geoinformatics, GeoInfo'08, Rio de Janeiro, 2008.
- Tiago Carneiro. Nested-CA: a foundation for multiscale modeling of land use and land change. PhD Thesis, INPE, 2006.
- Crimson Editor: Recommended for most users.
- Sublime: Recommended for Mac users.
- Instructions for running TerraME within Sublime.
- Eclipse SDK: Recommended for large projects. TerraME has an Eclipse plugin to visually develop models, called TerraME-GIMS: Graphical Interface for Modeling and Simulation.
TerraView is a GIS application based on TerraLib, a library to handle vector and raster data in several geographical DBMS. TerraME currently works with TerraView 4.2.0. Some useful plugins to work with dynamic models that come within TerraView are:
- Fill Cell Plugin: Feeds cellular spaces with attributes based on any geometry, through a large set of operations.
- Copytheme2layer: A simple and useful plugin to interchange cellular spaces from different databases.
The DataBase Management Systems (DBMS) currently supported by TerraME are:
- Microsoft Access: Recommended for small projects. It usually comes installed on Windows.
- MySQL: Recommended for large projects.
aRT (R-TerraLib API) is an R package that provides the integration between the statistical software R and the GIS library TerraLib. The aim is to have a package for accessing geospatial data to be analysed in R.
- LuccME, an extension for top-down land change modeling.
The chief developer of TerraME is Prof. Tiago Garcia de Senna Carneiro, from the Federal University of Ouro Preto (UFOP). INPE's development group includes Dr. Pedro Andrade, and MsC student Raian Vargas Maretto. INPE's researchers involved in developing models using TerraME include Dr. Gilberto Camara, Dr. Antonio Miguel Monteiro, Dr. Ana Paula Aguiar, Dr. Giovana Mira de Espindola, and PhD candidates Sergio Costa and Rodolfo Maduro Almeida. The TerraME kernel development team includes some research assistants from UFOP - Msc. Rodrigo Reis Pereira and Msc. Tiago Franca de Melo Lima, and also includes some undergraduate and master students from UFOP Computer Science Department: Antônio José da Cunha Rodrigues, Saulo Henrique Cabral Silva, Henrique Cota Camello, Washington Sena de França , Rafael Lage Moreira Barbosa , and Breno de Almeida Pereira. TerraME model calibration tools are being developed in association with researches and master students from the Eletrical Engineering Department from Federal University of Minas Gerais: Dr. Frederico Gadelha Guimarãesand Rodolfo Ayala Lopes Costa.
The TerraME modelling language is an extension of the Lua programming language and interfaces to http://www.terralib.org GIS library for archival and retrieval of geospatial data. Many thanks to the Lua and TerraLib teams for providing such good environments to build upon!
TerraME has been developed as a joint effort among TerraLab (Laboratory for Modelling and Simulation of Earth Systems), at Federal University of Ouro Preto, with Earth System Science Center (CCST) and Image Processing Division (DPI), at INPE.