User Tools

Site Tools


api:dk11:delphi:gisinterpolation.tgis_vectortogridabstract.generate_tgis_layervector_tgis_extent_string_tgis_layerpixel_tgis_extent

Table of Contents

TGIS_VectorToGridAbstract.Generate method

DK for Delphi | GisInterpolation.TGIS_VectorToGridAbstract.Generate | Constructors | Methods | Properties | Events

Populates a grid layer with values computed from vector sample points.

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

Syntax

// Delphi
public
  procedure Generate(
    const _src : TGIS_LayerVector;
    const _srcext : TGIS_Extent;
    const _srcfld : String;
    const _dst : TGIS_LayerPixel;
    const _dstext : TGIS_Extent
  ); virtual;
// C++ Builder
public:
  virtual void Generate(
    TGIS_LayerVector* const _src,
    TGIS_Extent* const _srcext,
    const UnicodeString _srcfld,
    TGIS_LayerPixel* const _dst,
    TGIS_Extent* const _dstext
  );

Parameters

Name Type Description
_src TGIS_LayerVector Source layer that contains the sample points.
_srcext TGIS_Extent Extent of interest in the source layer.
_srcfld String Name of the numeric field that provides interpolation values; if empty, the coordinate selected by the Coordinate property is used.
_dst TGIS_LayerPixel Destination grid layer.
_dstext TGIS_Extent Extent in the destination layer to populate with interpolated data.

Remarks

PURPOSE: Runs vector-to-grid processing for the requested source and destination extents.

BEHAVIOR: Validates the inputs, resolves the source of sample values, and fills destination cells according to the descendant interpolation algorithm.

USAGE: Use this method to generate rasterized interpolation output from vector samples.

interpolator.Generate(srcLayer, srcExtent, fieldName, dstLayer,
  dstExtent)

CONSTRAINTS: Parameters must be valid. If_srcfld is not empty, it must identify a numeric source field.

2026/07/05 01:37

Page Tools