Convert several windows to a common pixel raster.
1 2 3 4 5
Any number of windows (objects of class
This function makes any number of windows compatible, by converting them all to a common pixel grid.
This only has an effect if one of the windows is a binary mask. If all the windows are rectangular or polygonal, they are returned unchanged.
harmonise is generic. This is the
method for objects of class
Each argument must be a window (object of class
or data that can be converted to a window by
The common pixel grid is determined by inspecting all the windows in the argument list, computing the bounding box of all the windows, then finding the binary mask with the finest spatial resolution, and extending its pixel grid to cover the bounding box.
The return value is a list with entries corresponding to the input
If the arguments were named (
name=value) then the return value
also carries these names.
If you just want to determine the appropriate pixel resolution,
without converting the windows, use
A list of windows, of length equal to the number of arguments
.... The list belongs to the class
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.