User Tools

Site Tools


software

This is an old revision of the document!


You are in Geoinformatics - Creative Commons :: Spatio-Temporal Information for Society Course :: Software for the Course

Spatio-Temporal Information for Society: Software

Software Description

The models described in this course will be developed using TerraME. TerraME is an extension of the Lua language. Some useful documents about TerraME:

Students should read the TerraME EMS and the MREL papers first, to get a sense of the language and what we are going to teach. The next step is to learn the basics of Lua, which is a simple and elegant programming language. Good references on Lua are:


TerraME

Please first install the TerraME software, available at the TerraME site. Please install TerraME in “C:\TerraME” in Windows, or in “/usr/local/terrame/” in a Mac or Linux machine. After you have installed TerraME, please follow the instructions below.

Zero Brane Studio: IDE for TerraME

We suggest that you use ZeroBraneStudio as your programming environment for developing TerraME programs. In Windows, please install the program to C:\ZeroBraneStudio. In MAC and Linux, please use the default installation path.

After you download ZeroBrane, please do the following steps:

  1. Copy a new user.lua configuration file to the “cfg” folder where you have installed ZeroBraneStudio. In Windows, this is “C:\ZeroBraneStudio\cfg” if you have installed the program as instructed above. In the MAC, this is “/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/cfg”. In Ubuntu, this is “/opt/zbstudio/cfg”.
  2. Copy the terrame.lua interpreter description file to the “interpreters” where you have installed ZeroBraneStudio. In Windows, this is “C:\ZeroBraneStudio\interpreters” if you have installed the program as instructed above.In the MAC, this is “/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/interpreters”. In Ubuntu, this is /opt/zbstudio/interpreters.
  3. Optional: delete the other interpreters of ZeroBrane (Corona, Guideros, etc.) and leave only Lua, Lua5.2 and TerraME.

Additional library for the course

We have created an additional TerraME library to help with the course examples and exercises.

Install the Library for teaching TerraME in the directory <TerraME directory/contrib/courselib>. In Windows, this should be C:/TerraME/contrib/courselib. In Mac and Linux, this should be /usr/local/terrame/contrib/courselib. Create the subdirectory <TerraME directory/contrib/> is it does not already exist.

software.1416212385.txt.gz · Last modified: 2014/11/17 06:19 by gilberto