Skip to content

Commit 96d83aa

Browse files
committed
Fixes to compiled docs.
1 parent b6e62a8 commit 96d83aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/main/tut/apps/geotrellis-ops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Here's an example downsampling a tile and rendering each tile as a matrix of num
3434
```tut
3535
val downsample = udf((t: Tile) => t.resample(4, 4))
3636
val downsampled = rf.where(no_data_cells($"tile") === 0).select(downsample($"tile") as "minime")
37-
downsampled.select(tile_to_array[Float]($"minime") as "cell_values").limit(2).show(false)
37+
downsampled.select(tile_to_array_double($"minime") as "cell_values").limit(2).show(false)
3838
```
3939

4040

docs/src/main/tut/exporting-rasterframes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The cell values within a `Tile` are encoded internally as an array. There may be
2727
where the additional context provided by the `Tile` construct is no longer needed and one would
2828
prefer to work with the underlying array data.
2929

30-
The @scaladoc[`tileToArray`][tileToArray] column function requires a type parameter to indicate the array element
30+
The @scaladoc[`tile_to_array_int`][tile_to_array_int] column function requires a type parameter to indicate the array element
3131
type you would like used. The following types may be used: `Int`, `Double`, `Byte`, `Short`, `Float`
3232

3333
```tut
34-
val withArrays = rf.withColumn("tileData", tileToArray[Short]($"tile")).drop("tile")
34+
val withArrays = rf.withColumn("tileData", tile_to_array_int($"tile")).drop("tile")
3535
withArrays.show(5, 40)
3636
```
3737

@@ -186,5 +186,5 @@ spark.stop()
186186
[rfInit]: astraea.spark.rasterframes.package#rfInit%28SQLContext%29:Unit
187187
[rdd]: org.apache.spark.sql.Dataset#frdd:org.apache.spark.rdd.RDD[T]
188188
[toTileLayerRDD]: astraea.spark.rasterframes.RasterFrameMethods#toTileLayerRDD%28tileCol:RasterFrameMethods.this.TileColumn%29:Either[geotrellis.spark.TileLayerRDD[geotrellis.spark.SpatialKey],geotrellis.spark.TileLayerRDD[geotrellis.spark.SpaceTimeKey]]
189-
[tileToArray]: astraea.spark.rasterframes.ColumnFunctions#tileToArray
189+
[tile_to_array_int]: astraea.spark.rasterframes.ColumnFunctions#tile_to_array_int
190190

0 commit comments

Comments
 (0)