TerraLib and TerraView Wiki Page

This is an old revision of the document!



Warning: Declaration of syntax_plugin_iframe::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18

Warning: Declaration of syntax_plugin_iframe::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18

Warning: Declaration of syntax_plugin_externallink::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107

Warning: Declaration of syntax_plugin_externallink::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107

Working Environment

Tools

The basic tools you have to install in your environment to work with TerraLib are:

SoftwareVersionWebsite
Git ​ Latest http://git-scm.com/
CMake ​ 2.8.10 http://www.cmake.org/cmake

The following tools are optional, and their use is described below:

SoftwareWebsiteFunction
TortoiseGIT (Windows) http://code.google.com/p/tortoisegit General User Interface that makes it easier to use GIT on Windows
Git-Cola (Linux) http://git-cola.github.io/downloads.html General User Interface that makes it easier to use GIT on Unix platforms
Doxygen http://sourceforge.net/projects/doxygen/ used to generate the documentation

Installing and configuring GIT

Install the latest Git version from: GIT

If you are using windows, follow the default settings, except at:

  • Select Components: click Windows Explorer Integration, Git Bash, Git GUI.
  • Adjusting you PATH environment: Click third option (Run Git and included Unix Tools …)
  • Configuring the line ending conversions: click the first option (Checkout Windows-style, commit Unix-style line endings)

Dependencies

The Terralib library is split into several modules, each of these provide different functions, therefore, each have a particular set of dependencies. The following tables will show what library is required to compile each of the Terralib modules.

  • terralib_common
  • terralib_classification
  • terralib_color
  • terralib_datatype
  • terralib_plugin
  • terralib_xlink
  • terralib_xsd
  • terralib_xml
LibraryVersionWebsite
Boost 1.50 Boost
LibIntl (Windows) 0.12.0.0 LibIntl
DL (Linux) - -
Log4cxx 0.10.0 Log4cxx
  • terralib_srs
LibraryVersionWebsite
Proj4 4.7.0 Proj4
  • terralib_xerces
LibraryVersionWebsite
Xerces 3.1.1 Xerces-C++
  • terralib_geometry
  • terralib_annotationtext
  • terralib_filter
  • terralib_gml
  • terralib_raster
  • terralib_memory
  • terralib_symbology
LibraryVersionWebsite
Geos 3.2.3 Geos
  • terralib_maptools
  • terralib_ogr
  • terralib_gdal
LibraryVersionWebsite
Gdal 1.10.0 Gdal
  • terralib_statistic
  • terralib_rp
  • terralb_qt_widgets
  • terralib_serialization
  • terralib_qt_af
  • terralib_vp
  • terralib_qtplugins
  • TerraView;
LibraryVersionWebsite
QT 4.8.5 Qt
QWT 6.1.0 QWT

Optionally, you can download and unpack the third-party libraries compiled in Visual C++ 2010 from here: <Inserir third-party>

Once the envirnment is ready you can download the source code. Follow the instructions outlined here Download