DK11 for Java | tatukgis.jdk.TGIS_Pipeline | Classes | Constructors | Methods | Properties | Events
Pipeline engine.
// Java public class TGIS_Pipeline extends TGIS_Object { };
// Oxygene type TGIS_Pipeline = public class( TGIS_Object ) end;
→ TGIS_Object
Name | Visibility | Description | |
---|---|---|---|
TGIS_Pipeline() | public | Standard constructor | |
Name | Visibility | Description | |
---|---|---|---|
doLogError | protected | raises LogErrorEvent | |
doLogWarning | protected | raises LogWarningEvent | |
doShowForm | protected | raises ShowFormEvent | |
doShowMessage | protected | raises ShowMessageEvent | |
Execute | public | Execute pipeline operations. | |
Execute(java.lang.String, int) | public | Execute a single pipeline operation. | |
GetVar | public | Get global variable | |
Parse | public | Parse text command and create an operation. | |
SetVar | public | Set a global variable | |
ShowForm(int) | public | Lunch UI form with all parameters to allow interactive operation definition. | |
ShowForm(java.lang.String, int) | public | Lunch UI form with all parameters to allow interactive operation definition. | |
Name | Visibility | Description | |
---|---|---|---|
GIS | public | GIS Viewer on which pipeline operations will be performed. | |
SourceCode | public | Source code of pipeline operations separated by CR LF. | |
Variables | public | Dictionary with Pipeline variables; read-only. | |
Name | Visibility | Description | |
---|---|---|---|
BusyEvent | public | ||
LogErrorEvent | public | Event to be raised upon error. | |
LogWarningEvent | public | Event to be raised upon warning. | |
ProgressEvent | public | (Deprecated) Event to be raised upon execution to report which line is currently executed. | |
ShowFormEvent | public | Event to be raised upon ShowForm execution. | |
ShowMessageEvent | public | Event to be raised upon 'Say' like operations. | |
Pipeline is a simplified command interpreter allowing execution of a sequence of operations like:
Base.Say "Start" GIS.Close Layer.Open Result=$src Name=source Path="c:\Samples\Interpolation\temperatures.shp" Layer.CreateGrid Result=$dst Name=grid CS=$src Extent=$src Width=1000 Height=1000 Interpolation.Kriging Source=$src Destination=$dst Field=TEMP Layer.Close Layer=$src Ramp 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 Pipeline for the list of available operations.