locationtech / rasterframes

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

Choose ResampleMethod in rf_resample and RasterJoin #495

Closed vpipkt closed 4 years ago

vpipkt commented 4 years ago

Allows using a string argument in rf_resample and RasterJoin to choose the resampling method to use.

The choices are (either snake_case or CamelCase would be acceptable):

nearest_neighbor, bilinear, cubic_convolution, cubic_spline, lanczos, average, mode, median, max, min, sum

See GeoTrellis docs for more.

To Do

metasim commented 4 years ago

@vpipkt As always, thanks for the fantastic work!