locationtech / rasterframes

Geospatial Raster support for Spark DataFrames
http://rasterframes.io
Apache License 2.0
240 stars 46 forks source link

Local map algebra on more than two tiles #613

Open arind123 opened 1 year ago

arind123 commented 1 year ago

I know I can do rf_local_max(Tile_1, Tile_2). How can I do if I have three or four tile columns of a rasterframe. I tried rf_local_max(Tile_1, Tile_2, Tile_3) and got the following error: "TypeError: rf_local_max() takes 2 positional arguments but 3 were given".

As per documentation we should be able to do it . Is there a different format for it? Any heads up will be very helpful.