User Tools

Site Tools


api:dk11:delphi:giscontour.tgis_contourgenerator.generate_tgis_layerpixel_tgis_layervector_string

TGIS_ContourGenerator.Generate(TGIS_LayerPixel; TGIS_LayerVector; String) method

DK11 for Delphi | GisContour.TGIS_ContourGenerator.Generate | Overloads | Constructors | Methods | Properties | Events

Creates vector contours from a raster grid layer.

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

Syntax

// Delphi
public
  function Generate(
    const _src : TGIS_LayerPixel;
    const _dst : TGIS_LayerVector;
    const _dstfld : String
  ) : Boolean; overload;
// C++ Builder
public:
  bool Generate(
    TGIS_LayerPixel* const _src,
    TGIS_LayerVector* const _dst,
    const UnicodeString _dstfld
  ) /* overload */;

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 String if not empty the attribute field of the specified name will be populated with the elevation values of the contours

Result

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

Remarks

'_dstfld' must already exist in '_dst' layer.

References

2023/02/24 20:31

Page Tools