Skip to main content
Returns a point geometry of the specified pixel’s upper-left corner. The pixel coordinates specified are 1-indexed. RS_PixelAsPoint
If the pixel coordinates specified do not exist in the raster (out of bounds), RS_PixelAsPoint throws an IndexOutOfBoundsException.

Signatures

Parameters

Raster
required
The input raster.
Integer
required
The col x value.
Integer
required
The row y value.

Return type

The resulting geometry.

Examples