假设我在python中创建了一个函数,所以将一个数字求幂为2: def squared(s):%sql select id, squaredWithPython(id) as id_squared from test 那么,如果数据分布在工作节点的内存上请注意,代码从以下位置检索:https://docs.
val geotiff = SinglebandGeoTiff(abcd.tif) val colorMap1 = geotiff.options.colorMap 现在colorMap1的类型是IndexedColorMap有没有办法将colormap1转换为ColorMap(geotrellis.raster.render.ColorMap),因为我的整个代码都是基于ColorMap而不是IndexedColorMap的