User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_layerpixel.maptoraster_tgis_point_tgis_cscoordinatesystem

Table of Contents

TGIS_LayerPixel.MapToRaster method

DK11 for Python | tatukgis.pdk.TGIS_LayerPixel.MapToRaster | Constructors | Methods | Properties | Events

Converts map coordinates to raster pixel location.

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

Syntax

# Python
def MapToRaster(
  self,
  _ptg: TGIS_Point,
  _cs: TGIS_CSCoordinateSystem
) -> TPoint: 

Parameters

Name Type Description
_ptg TGIS_Point point to be converted
_cs TGIS_CSCoordinateSystem coordinate system of _ptg; if nil that coordinate system same as layer coordinate system

Result

Type Description
TPoint calculated location
2023/08/09 01:55

Page Tools