Skip to main content
Returns a raster geometry from an Arc Info Ascii Grid file.

Signatures

RS_FromArcInfoAsciiGrid(asc: ARRAY[Byte])

Parameters

asc
ARRAY[Byte]
required
The input byte array.

Return type

The resulting raster.

Example

var df = sedona.read.format("binaryFile").load("/some/path/*.asc")
df = df.withColumn("raster", f.expr("RS_FromArcInfoAsciiGrid(content)"))