Scripting in TNTmips
Create Custom Features and Enhancements
TNT's geospatial scripting language (SML) supports a wide variety of customization. SML is used in complete stand-alone scripts, element selection queries, and all kinds of custom processes, tools, and applications. The context where you run a script determines the desired action or output. Scripts can be edited in the script editor within TNTmips or in another text editor that offers SML syntax highlighting.
Queries & Expressions
Expressions and queries are usually very simple scripts with only one or two lines of code and often reference database records that are associated with geometric elements (points, lines, and polygons). Expressions return numeric or text values while queries return 'true' or 'false' for a given element or other input. With these scripts you can: mark elements, specify what elements to show, create a string or numeric field in a table, or label elements.
Highlight geometric elements or specify what elements you want to show in the View.
Create Numeric or Text Fields in database tables.
Specify text for labeling geometric elements.
Display Scripts: Styling, Macros & Tools, Enhanced DataTips, and Interactive Windows
These scripts are used in the Display process or other processes with a View window. Use them to create a layer or object, run a macro in the View window, make enhanced DataTips, or create an interactive window.
Style geometric points, lines, and polygons with a simple script or complex CartoScript.
Add tools and macros to the toolbar in any View window.
Display control scripts to make DataTips and GraphTips in the View.
Display control scripts that create interactive windows to use with the View.
These scripts render an on-the fly layer in the View window.
* GeoFormulas can be used either in the GeoFormula process (to create a new object in an RVC file) or added as a layer in the Display process (to render on-the-fly GeoFormula layers).
GeoFormulas: Combine rasters and vector polygons to create a new geospatial objects or layer.
Select records, assign symbols, specify labels, and format coordinates.
Add a border, tic marks, north arrow, logo, title, and layer labels to your map.
Geospatial Process Scripts
These stand-alone scripts are run on their own without any other TNTmips process. SML scripts can accomplish a wide variety of goals — such as automating your work flow, developing your own algorithms, or creating custom interactive applications.
Simple stand-alone example scripts to show how to work with spatial data in SML.
Custom stand-alone scripts with your own processing steps.
Fast, efficient processing of raster data. Supports multi-thread, multi-core processing.
Visual interface for creating raster pipeline scripts.
SML Dialogs Using XML.
Set up specialized batch jobs.
Animated 2D and 3D "flyby" movies.
Calibrate/Analyze Multispectral Images, Map: Soil, Vegetation, Coastal, Biophysical Properties.