Open
Description
This code:
val df = spark.read.raster //....
.select(rf_tile($"red"), rf_extent($"red") as "red_extent", rf_crs($"red") as "red_crs")
.toLayer(tlm)
Fails with error about column crs as crs
not found. Pinpointed this to https://github.com/locationtech/rasterframes/blob/develop/core/src/main/scala/org/locationtech/rasterframes/extensions/RasterJoin.scala#L44
I believe in this case since there is no projected raster tile column (note use of rf_tile
), it is trying to select crs
and extent
by name.
Should look for columns by type instead.