TerraLib: An Open Source GIS Library for Large-Scale Environmental and Socio-Economic Applications

This chapter describes TerraLib, an open source GIS software library. The design goal for TerraLib is to support large-scale applications using socio-economic and environmental data. TerraLib supports coding of geographical applications using spatial databases, and stores data in different database management systems including MySQL and PostgreSQL. Its vector data model is upwards compliant with Open Geospatial Consortium (OGC) standards. It handles spatio-temporal data types (events, moving objects, cell spaces, modifiable objects) and allows spatial, temporal, and attribute queries on the database. TerraLib supports dynamic modeling in generalized cell spaces, has a direct runtime link with the R programming language for statistical analysis, and handles large image data sets. The library is developed in C++, and has programming interfaces in Java and Visual Basic. Using TerraLib, the Brazilian National Institute for Space Research (INPE) developed the TerraView open source GIS, which provides functions for data conversion, display, exploratory spatial data analysis, and spatial and non-spatial queries. Another noteworthy application is TerraAmazon, Brazil’s national database for monitoring deforestation in the Amazon rainforest, which manages more than 2 million complex polygons and 60 gigabytes of remote sensing images.

[1]  A. Prasad Sistla,et al.  Modeling and querying moving objects , 1997, Proceedings 13th International Conference on Data Engineering.

[2]  L. Anselin Local Indicators of Spatial Association—LISA , 2010 .

[3]  Manfred M. Fischer,et al.  Recent Developments in Spatial Analysis , 1997 .

[4]  Paul A. Longley,et al.  Geographical information systems : principles, techniques, management, and applications , 2005 .

[5]  Andrew U. Frank,et al.  Life and motion of socio-economic units , 2001 .

[6]  Gilberto Câmara,et al.  SPRING and TerraLib: Integrating Spatial Analysis and GIS , 2002 .

[7]  J. Herbsleb,et al.  Two case studies of open source software development: Apache and Mozilla , 2002, TSEM.

[8]  Ross Ihaka,et al.  Gentleman R: R: A language for data analysis and graphics , 1996 .

[9]  Markus Neteler,et al.  Open Source geocomputation: using the R data analysis language integrated with GRASS GIS and PostgreSQL data base systems. , 2000 .

[10]  Gilberto Camara,et al.  TerraML – A Cell-Based Modeling Language for an Open-Source GIS Library , 2002 .

[11]  José dos Campos,et al.  NESTED-CA: A FOUNDATION FOR MULTISCALE MODELLING OF LAND USE AND LAND COVER CHANGE , 2006 .

[12]  Shi-Kuo Chang,et al.  An Intelligent Image Database System , 1988, IEEE Trans. Software Eng..

[13]  GILBERTO CÂMARA,et al.  Design Patterns in GIS Development : The Terralib Experience , 2001 .

[14]  Stephen Travis Pope,et al.  A cookbook for using the model-view controller user interface paradigm in Smalltalk-80 , 1988 .

[15]  Gilberto Câmara,et al.  Spring: integrating remote sensing and gis by object-oriented data modelling , 1996, Comput. Graph..

[16]  Peter J. Diggle,et al.  Statistical analysis of spatial point patterns , 1983 .

[17]  Charles W. Krueger,et al.  Software reuse , 1992, CSUR.

[18]  David G. Korn,et al.  Principles for writing reusable libraries , 1995, SSR '95.

[19]  Youngihn Kho,et al.  GeoDa: An Introduction to Spatial Data Analysis , 2006 .

[20]  P. Diggle,et al.  Model‐based geostatistics , 2007 .

[21]  James F. Allen Maintaining knowledge about temporal intervals , 1983, CACM.

[22]  ENATO,et al.  Efficient regionalisation techniques for socio-economic geographical units using minimum spanning trees , 2006 .

[23]  Luc Anselin,et al.  Exploratory Spatial Data Analysis Linking SpaceStat and ArcView , 1997 .

[24]  Corina da Costa Freitas,et al.  Efficient regionalization techniques for socio‐economic geographical units using minimum spanning trees , 2006, Int. J. Geogr. Inf. Sci..

[25]  L. Anselin Spatial Econometrics: Methods and Models , 1988 .

[26]  S. Fotheringham,et al.  Geographically Weighted Regression , 1998 .

[27]  Don S. Batory,et al.  Scalable software libraries , 1993, SIGSOFT '93.

[28]  Gilberto Câmara,et al.  The Architecture of a Flexible Querier for Spatio-Temporal Databases , 2005, GeoInfo.

[29]  Selim Aksoy,et al.  Interactive training of advanced classifiers for mining remote sensing image archives , 2004, KDD.

[30]  Markus Schneider,et al.  Spatio-Temporal Predicates , 2002, IEEE Trans. Knowl. Data Eng..

[31]  Stan Openshaw,et al.  Designing Zoning Systems for the Representation of Socio-Economic Data , 2000 .

[32]  Mansour Zand,et al.  Proceedings of the 1995 Symposium on Software reusability , 1995 .

[33]  Timothy C. Coburn,et al.  Geostatistics for Natural Resources Evaluation , 2000, Technometrics.

[34]  Thomas Blaschke,et al.  Object-oriented image analysis and scale-space: Theory and methods for modeling and evaluating multi-scale landscape structure , 2001 .

[35]  Gilberto Câmara,et al.  Modelling Spatial Relations by Generalized Proximity Matrices , 2003, GEOINFO.

[36]  Derek Karssenberg,et al.  Environmental Modelling in GIS , 1998 .

[37]  Gilberto Câmara,et al.  Mining patterns of change in remote sensing image databases , 2005, Fifth IEEE International Conference on Data Mining (ICDM'05).

[38]  M. Batty,et al.  Stochastic cellular automata modeling of urban land use dynamics: empirical development and estimation , 2003, Comput. Environ. Urban Syst..

[39]  Michael F. Goodchild,et al.  GEOGRAPHIC INFORMATION SCIENCE AND SYSTEMS FOR ENVIRONMENTAL MANAGEMENT , 2003 .

[40]  Helen Couclelis,et al.  From Cellular Automata to Urban Models: New Principles for Model Development and Implementation , 1997 .

[41]  Paul A. Longley,et al.  Geocomputation: a primer , 1998 .

[42]  Jürgen Symanzik,et al.  Statistical Analysis of Spatial Point Patterns , 2005, Technometrics.

[43]  David J. DeWitt,et al.  Client-Server Paradise , 1994, VLDB.

[44]  Pedro Ribeiro de Andrade Neto,et al.  A Process and Environment for Embedding the R Software into TerraLib , 2005, GeoInfo.

[45]  Jason Dykes Csiss – Specialist Meeting on Spatial Data Analysis Software Tools , .

[46]  Gilberto Câmara,et al.  Global and local spatial indices of urban segregation , 2007, Int. J. Geogr. Inf. Sci..

[47]  Ralf Hartmut Güting,et al.  Moving Objects Databases , 2005 .

[48]  Barry Smith,et al.  SNAP and SPAN: Towards Dynamic Spatial Ontology , 2004, Spatial Cogn. Comput..

[49]  Robert Eckstein,et al.  Java Swing , 1998 .

[50]  Jasmin Christian Blanchette,et al.  C++ GUI programming with Qt 4 , 2004 .

[51]  Steven Weber,et al.  The Success of Open Source , 2004 .

[52]  Frederico T. Fonseca,et al.  Using Ontologies for Integrated Geographic Information Systems , 2002, Trans. GIS.

[53]  A. Veldkamp,et al.  CLUE: a conceptual model to study the Conversion of Land Use and its Effects , 1996 .

[54]  Chris Brunsdon,et al.  Geographically Weighted Regression: The Analysis of Spatially Varying Relationships , 2002 .

[55]  W. Arthur,et al.  Increasing Returns and Path Dependence in the Economy , 1996 .

[56]  Max J. Egenhofer,et al.  Identity-based change: a foundation for spatio-temporal knowledge representation , 2000, Int. J. Geogr. Inf. Sci..

[57]  Gilberto Câmara,et al.  Image Data Handling in Spatial Databases , 2003, GeoInfo.

[58]  Michael Batty,et al.  Geocomputation using cellular automata , 2000 .

[59]  Ralph Johnson,et al.  design patterns elements of reusable object oriented software , 2019 .

[60]  Luc Anselin,et al.  Interactive Techniques and Exploratory Spatial Data Analysis , 1996 .

[61]  Bertrand Meyer,et al.  Lessons from the design of the Eiffel libraries , 1990, CACM.

[62]  Andrei Alexandrescu,et al.  Modern C++ design: generic programming and design patterns applied , 2001 .

[63]  Antony Galton,et al.  Fields and Objects in Space, Time, and Space-time , 2004, Spatial Cogn. Comput..

[64]  Thomas A. Henzinger,et al.  The theory of hybrid automata , 1996, Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.

[65]  K. Navulur Multispectral Image Analysis Using the Object-Oriented Paradigm , 2006 .

[66]  L. Anselin What is Special About Spatial Data? Alternative Perspectives on Spatial Data Analysis (89-4) , 1989 .

[67]  Michael F. Worboys,et al.  Event‐oriented approaches to geographic phenomena , 2005, Int. J. Geogr. Inf. Sci..

[68]  Peter J. Diggle,et al.  SPLANCS: spatial point pattern analysis code in S-Plus , 1993 .

[69]  Matthew H. Austern Generic programming and the STL - using and extending the C++ standard template library , 1999, Addison-Wesley professional computing series.

[70]  Chen Zhenghu A Software Architecture of Distribute GIS , 2001 .

[71]  Robert Eckstein,et al.  Java Swing, Second Edition , 2002 .

[72]  M. Neubert,et al.  A COMPARISON OF SEGMENTATION PROGRAMS FOR HIGH RESOLUTION REMOTE SENSING DATA , 2004 .

[73]  David J. Martin Extending the automated zoning procedure to reconcile incompatible zoning systems , 2003, Int. J. Geogr. Inf. Sci..