TatukGIS menu

Blogs

Field Calculator Script

The Field Calculator is a new script for the TatukGIS Editor. The script performs basic mathematical calculations using attribute values with simple math operators. There are five arithmetic operations: addition, subtraction, multiplication, division, and exponentiation. The results of an operation can be written to a new attribute column or used to update the values in an already existing column. The script can create number type and float type attributes.

Field Calculator Graphical User Interface:

In the following image, the Field Calculator will create a new DENSITY attribute to contain the results from dividing each POPULATION attribute value by each AREA attribute value.

In the next image, the calculated results (population density) now contained by the DENSITY attribute are visualized on the map.

The Field Calculator is very useful for creating new attributes with values that are dependent on another attribute(s), such as for example, to display attribute values in different units or calculate results from any other expression.

Download the latest TatukGIS Editor version to discover the possibilities of the Field Calculator script!

Posted: June 18, 2015
Filed under: EDT, SCRIPTING