raster-functions
raster-functions copied to clipboard
Clearification regarding "resampling" in wiki needed
In the documentation on the wiki page of this repo in the section updateRasterInfo() there are some information about the keyword "resampling". I've been playing a little with this parameter while trying to to get a python raster function to behave as we want. I've a few questions regarding this parameter.
- Should the parameter name be "Resampling" instead of "resampling"? Using
kwargs['output_info']['Resampling'] = False
has some effect but notkwargs['output_info']['resampling'] = False
- The documentation says that the default value of resampling is False but I've the experience of the opposite. I'm aware of the 'inheritProperties' and 'invalidateProperties' parameters of get configuration. But I'm not able to configure those so that False becomes the default value of 'Resampling'.
- In getConfiguration() i've found that adding a keword of "Resampling" or "resampling" has effect on kwargs['output_info']['Resampling'] in updateRasterInfo() . What is the effect of setting this paramter to True/False? Is it the same as changing it in
On the wiki page I also founds some information regarding selectRasters(). But I can't trigger this to run. Is it possilbe to get it to run on a single raster dataset?