User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_isochronemap.generate_itgis_layervector_itgis_shortestpath_itgis_layervector_tgis_shapetype_itgis_point_double_double

ITGIS_IsochroneMap.Generate method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_IsochroneMap.Generate | Methods | Properties

Finds the network area reachable within a given cost and outputs the result to the destination layer as shape(s).

Available also on: Delphi | .NET | Java.

Syntax

// C#
public WordBool Generate(
  ITGIS_LayerVector _src,
  ITGIS_ShortestPath _spath,
  ITGIS_LayerVector _dst,
  TGIS_ShapeType _type,
  ITGIS_Point _start,
  double _cost,
  double _intrvl
);
' VisualBasic
Public Function Generate(
  ByVal _src As ITGIS_LayerVector,
  ByVal _spath As ITGIS_ShortestPath,
  ByVal _dst As ITGIS_LayerVector,
  ByVal _type As TGIS_ShapeType,
  ByVal _start As ITGIS_Point,
  ByVal _cost As Double,
  ByVal _intrvl As Double
) As WordBool
// Oxygene
public
  function Generate(
    _src : ITGIS_LayerVector;
    _spath : ITGIS_ShortestPath;
    _dst : ITGIS_LayerVector;
    _type : TGIS_ShapeType;
    _start : ITGIS_Point;
    _cost : Double;
    _intrvl : Double
  ) : WordBool;

Parameters

Name Type Description
_src ITGIS_LayerVector source layer which contains the network
_spath ITGIS_ShortestPath shortest path object for the source layer
_dst ITGIS_LayerVector destination layer
_type TGIS_ShapeType output shape type
_start ITGIS_Point starting point; if not a network node then the nearest network node will be used as the starting point
_cost double
Double
maximum cost of traversing the network
_intrvl double
Double
cost interval; only the first node which exceeds each interval will be added to the output

Result

Type Description
WordBool True if the operation went successful

Remarks

Choosing each output shape type will yield different result:

  • point - reachable network nodes as separate shapes,
  • multipoint - reachable network nodes as one shape,
  • arc - reachable network links as separate shapes,
  • polygon - concave hull of the reachable network.

References

2020/05/28 09:04

Page Tools