User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_pipeline

TGIS_Pipeline class

DK11 for Java | tatukgis.jdk.TGIS_Pipeline | Classes | Constructors | Methods | Properties | Events

Pipeline engine.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public class TGIS_Pipeline extends TGIS_Object {
};
// Oxygene
type
  TGIS_Pipeline = public class( TGIS_Object )
  end;

Inheritance

→ TGIS_Object

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_Pipeline() 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 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.

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

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

2022/11/30 19:34

Page Tools