Skip to main content
Returns a list of the polygon geometry, the pixel value and its raster X and Y coordinates for each pixel in the raster at the specified band. RS_PixelAsPolygons

Signatures

Parameters

raster
Raster
required
The input raster.
band
Integer
required
The band index.

Return type

A struct containing the result fields.

Examples

Spark SQL example for extracting Point, value, raster x and y coordinates: