User Tools

Site Tools


api:dk11:delphi:gispipeline.tgis_pipeline

TGIS_Pipeline class

DK11 for Delphi | GisPipeline.TGIS_Pipeline | Classes | Constructors | Methods | Properties | Events

Pipeline engine.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_Pipeline = class( TGIS_Object )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_Pipeline : public TGIS_Object
{
};

Inheritance

→ TObject → TGIS_Object

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Standard constructor

Methods

Inherited Overrides Protected
Name Visibility Description
doLogError protected raises LogErrorEvent
doLogWarning protected raises LogWarningEvent
doShowForm protected raises ShowFormEvent
doShowMessage protected raises ShowMessageEvent
Execute public Execute a pipeline operations.
Execute(String; Integer) public Execute a single pipeline operation.
GetVar public Get global variable
Parse public Parse text command and crate an operation.
SetVar public Set 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.

Properties

Inherited Protected
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.

Events

Inherited Protected
Name Visibility Description
LogErrorEvent published Event to be raised upon error.
LogWarningEvent published Event to be raised upon warning.
ProgressEvent published Event to be raised uopn execution to raport which line is currently executed.
ShowFormEvent published Event to be raised ShowForm execution.
ShowMessageEvent published Event to be raised upon 'Say' like operations.

Remarks

Pipeline is a simplified commands 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.

References

2019/04/12 17:31