User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_contourgenerator.generate_tgis_layerpixel_tgis_layervector_string_string

TGIS_ContourGenerator.Generate(TGIS_LayerPixel, TGIS_LayerVector, java.lang.String, java.lang.String) method

DK11 for Java | tatukgis.jdk.TGIS_ContourGenerator.Generate | Overloads | Constructors | Methods | Properties | Events

Creates vector contours from a raster grid layer.

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

Syntax

// Java
public bool Generate(
  TGIS_LayerPixel _src,
  TGIS_LayerVector _dst,
  java.lang.String _dstfld,
  java.lang.String _dstfld_interval
);
// Oxygene
public
  function Generate(
    _src : TGIS_LayerPixel;
    _dst : TGIS_LayerVector;
    _dstfld : String;
    _dstfld_interval : String
  ) : Boolean;

Parameters

Name Type Description
_src TGIS_LayerPixel source grid layer
_dst TGIS_LayerVector destination vector layer, must have the same CS as the source layer
_dstfld java.lang.String
String
if not empty the field of the specified name will be populated with the elevation values of the contours
_dstfld_interval java.lang.String
String
if not empty the field of the specified name will be populated with the contours' intervals; only for polygonal contours

Result

Type Description
bool
Boolean
True if the process was completed successfully; False otherwise

Remarks

'_dstfld' and '_dstfld_interval' must already exist in '_dst' layer. '_dstfld' and '_dstfld_interval' must be different.

References

2023/02/24 20:52

Page Tools