ext_overlap: Check if a polygon and raster contain each other, intersect,...

Description Usage Arguments Value

View source: R/General.R

Description

Check if a polygon and raster contain each other, intersect, or are not overlapping

Usage

1
ext_overlap(pol, rst)

Arguments

pol

polygon

rst

SpatRaster object

Value

1 if raster contains the polygon, 2 if polygon contains the raster or polygon, 3 if polygon and raster intersect, and 3 if there is no overlap


RETURN-project/makeDataCube documentation built on Feb. 11, 2022, 3:04 p.m.