calulate_polygon_part_area: Calculate the area of the intersected polygon portion

calulate_polygon_part_areaR Documentation

Calculate the area of the intersected polygon portion

Description

Calculate the area of the intersected polygon portion

Usage

calulate_polygon_part_area(fraction, xmax, coords, ply, total_area)

Arguments

fraction

The fraction of area being processed represented from 0.0 to 1.0

xmax

A float or integer value for the x (longitude) coordinate maximum

coords

A list containing xmin, ymin, and ymax

ply

An sf polygon object

total_area

total area of the whole polygon

Value

the area of the polygon portion

Author(s)

Chris R. Vernon (chris.vernon@pnnl.gov)


JGCRI/rgis documentation built on July 27, 2023, 1:47 p.m.