recalculateImageDimensions {cmsafvis} | R Documentation |
Get rectangular image dimensions
Description
Given regional bounds image width and height are computed in order to display a region without distortion.
Usage
recalculateImageDimensions(
visualizeVariables,
lon_bounds,
lat_bounds,
image_def,
ihsf
)
Arguments
visualizeVariables |
A dataframe containing $lon and $lat values which will be bounded by lon/lat_bounds (data.frame). |
lon_bounds |
Array containing two values for longitude min and max (numeric). |
lat_bounds |
Array containing two values for latitude min and max (numeric). |
image_def |
Minimal image default size for width and height (numeric). |
ihsf |
Image height rescaling factor (numeric). |
[Package cmsafvis version 1.2.8 Index]