User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_pipeline

TGIS_Pipeline class

DK11 for ActiveX | TatukGIS_XDK11.TGIS_Pipeline | Classes | Methods | Properties

Pipeline engine.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public class TGIS_Pipeline : ITGIS_Pipeline, IConnectionPointContainer, ITGIS_PipelineEvents 
{
}
' VisualBasic
Public Class TGIS_Pipeline
  Implements ITGIS_Pipeline
  Implements IConnectionPointContainer
  Implements ITGIS_PipelineEvents
End Class
// Oxygene
type
  TGIS_Pipeline = public class
  end;

Implements

ITGIS_Pipeline IConnectionPointContainer ITGIS_PipelineEvents

Methods

Inherited Overrides Protected
Name Visibility Description
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
BusyEvent public
(Inherited from ITGIS_PipelineEvents)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Execute public Execute pipeline operations.
Execute_2 public Execute a single pipeline operation.
GetVar public Get global variable
LogErrorEvent public Event to be raised upon error.
(Inherited from ITGIS_PipelineEvents)
LogWarningEvent public Event to be raised upon warning.
(Inherited from ITGIS_PipelineEvents)
Parse public Parse text command and create an operation.
ProgressEvent public (Deprecated) Event to be raised upon execution to report which line is currently executed.
(Inherited from ITGIS_PipelineEvents)
SetVar public Set a global variable
ShowForm public Lunch UI form with all parameters to allow interactive operation definition.
ShowFormEvent public Event to be raised upon ShowForm execution.
(Inherited from ITGIS_PipelineEvents)
ShowForm_2 public Lunch UI form with all parameters to allow interactive operation definition.
ShowMessageEvent public Event to be raised upon 'Say' like operations.
(Inherited from ITGIS_PipelineEvents)

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.

Remarks

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.

References

2020/07/31 20:56

Page Tools