create_coords_layer {glossa} | R Documentation |
Create Geographic Coordinate Layers
Description
Generates raster layers for longitude and latitude from given raster data, applies optional scaling, and restricts the output to a specified spatial mask.
Usage
create_coords_layer(layers, study_area = NULL, scale_layers = FALSE)
Arguments
layers |
Raster or stack of raster layers to derive geographic extent and resolution. |
study_area |
Spatial object for masking output layers. |
scale_layers |
Logical indicating if scaling is applied. Default is FALSE. |
Value
Raster stack with layers lon and lat.
[Package glossa version 1.2.2 Index]