User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_isochronemap.generate_tgis_layervector_tgis_shortestpath_tgis_layervector_tgis_shapetype_tgis_point_double_double

TGIS_IsochroneMap.Generate method

DK11 for Java | tatukgis.jdk.TGIS_IsochroneMap.Generate | Constructors | 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 | ActiveX.

Syntax

// Java
public bool Generate(
  TGIS_LayerVector _src,
  TGIS_ShortestPath _spath,
  TGIS_LayerVector _dst,
  TGIS_ShapeType _type,
  TGIS_Point _start,
  double _cost,
  double _intrvl
);
// Oxygene
public
  function Generate(
    _src : TGIS_LayerVector;
    _spath : TGIS_ShortestPath;
    _dst : TGIS_LayerVector;
    _type : TGIS_ShapeType;
    _start : TGIS_Point;
    _cost : Double;
    _intrvl : Double
  ) : Boolean;

Parameters

Name Type Description
_src TGIS_LayerVector source layer which contains the network
_spath TGIS_ShortestPath shortest path object for the source layer
_dst TGIS_LayerVector destination layer
_type TGIS_ShapeType output shape type
_start TGIS_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
bool
Boolean
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/01/31 01:11

Page Tools