Documentation | Other Specifications | Pipeline
Pipeline is a simplified command interpreter allowing execution of a sequence of operations like:
Base.Say "Start" Layer.Open Result=$src Name=source Path="c:\Samples\Interpolation\temperatures.shp" Layer.CreateGrid Result=$dst Name=grid CS=$GIS Extent=$GIS Width=1000 Height=1000 Interpolation.Kriging Source=$src Destination=$dst Field=TEMP Layer.Close Layer=$src Grid.GenerateRamp Layer=$dst GIS.FullExtent Layer.CreateVector Result=$cntr Name=contours CS=$dst Extent=$dst ShapeType=Arc Layer.AddField Layer=$cntr Name=NewField Type=Float Width=3 Contour Source=$dst Destination=$cntr Field="NEW FIELD" ContourBase=15 ContourInterval=1 GIS.ZoomToLayer Layer=$cntr GIS.Update Base.Say "Done"
See: TGIS_Pipeline class.
;
is treated as a comment ; this is my comment
OperationName paramter1=value parameterN=value
$layer1
, $src
, $extent
, etc.$
prefix for variables is not obligatory, but we recommend following this convention. $GIS
which refers to assigned viewer (GIS).parameter=$variable
parameter=$GIS
parameter=3.14
parameter="some text"
MyOperation param1=$value1 param2=123 MyOperation $value1 param2=123