User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_layerpixel.getgrid_tgis_extent_tgis_gridarray

Table of Contents

TGIS_LayerPixel.GetGrid method

DK for Python | tatukgis_pdk.TGIS_LayerPixel.GetGrid | Constructors | Methods | Properties | Events

Fills provided _grid array with values defined by _extent. If the current layer does not fully cover the _extent then values outside the layer scope should be left untouched.

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

Syntax

# Python
def GetGrid(
  self,
  _extent: TGIS_Extent,
  _grid: TGIS_GridArray
) -> bool: 

Parameters

Name Type Description
_extent TGIS_Extent extent of the _grid
_grid TGIS_GridArray allocated array (width/height ratio of the _grid should be the same as width/height ration of the _extent)

Result

Type Description
bool True if success

Remarks

Function provide data with coordinate system applied.

2025/01/31 01:20

Page Tools