DK for Delphi | GisPipeline.TGIS_Pipeline | Classes | Constructors | Methods | Properties | Events
Pipeline engine.
// Delphi type TGIS_Pipeline = class( TGIS_Object ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Pipeline : public TGIS_Object { };
Name | Visibility | Description | |
---|---|---|---|
Create | 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(String; Integer) | 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(Integer) | public | Lunch UI form with all parameters to allow interactive operation definition. | |
ShowForm(String; Integer) | 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 | published | ||
LogErrorEvent | published | Event to be raised upon error. | |
LogWarningEvent | published | Event to be raised upon warning. | |
ProgressEvent | published | (Deprecated) Event to be raised upon execution to report which line is currently executed. | |
ShowFormEvent | published | Event to be raised upon ShowForm execution. | |
ShowMessageEvent | published | 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.