DK11 for Python | tatukgis.pdk.TGIS_LayerPixel.MapToRaster | Constructors | Methods | Properties | Events
Converts map coordinates to raster pixel location.
# Python def MapToRaster( self, _ptg: TGIS_Point, _cs: TGIS_CSCoordinateSystem ) -> TPoint:
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 |
Type | Description |
---|---|
TPoint | calculated location |