Spatial Modeler Language (SML) is a spatial analysis script-based language for manipulating both raster and vector data. It is the underlying script for Model Maker in ERDAS IMAGINE.
Sample SML Script
# Example Model: copyraster.mdl
# Function: Copy Raster to Raster
# Declare input raster: variable name is "in"
RASTER in FILE "$IMAGINE_HOME/examples/lnsoils.img";
# Declare output raster: variable name is "out"
RASTER out FILE DELETE_IF_EXISTING "/vol/imgfiles/soils.img";
# Copy "in" to "out"
out = in;