This PR improves the to_geotiff_rdd method so that the GeoTiffs produced can be used as COGs. In order to achieve this, two changes were made. The first was to change the default storage_method from STRIPED to TILED. The other change was the addition of two new parameters to to_geotiff_rdd: resample_method and decimations. These two parameters are used to create the internal overviews of the outputted GeoTiffs.
Note: This PR may break any preexisting code that uses the to_geotiff_rdd method, as it changes the order of the arguments to that method.
This PR improves the
to_geotiff_rdd
method so that the GeoTiffs produced can be used as COGs. In order to achieve this, two changes were made. The first was to change the defaultstorage_method
fromSTRIPED
toTILED
. The other change was the addition of two new parameters toto_geotiff_rdd
:resample_method
anddecimations
. These two parameters are used to create the internal overviews of the outputted GeoTiffs.Note: This PR may break any preexisting code that uses the
to_geotiff_rdd
method, as it changes the order of the arguments to that method.