Skip to contents

This function calculates the conversion factor of a raster map resolution to hectares, depending on the coordinate reference system (CRS) of the raster. Raster maps with projection in meter or degree units are supported.

Usage

calc_res_conv_factor_to_ha(raster_input)

Arguments

raster_input

A terra::SpatRaster object.

Value

A numerical value representing the conversion factor of the raster map resolution to hectares.