checkConnectivityZones: Check connectivity zones for possible problems

View source: R/checkConnectivityZones.R

checkConnectivityZonesR Documentation

Check connectivity zones for possible problems

Description

Function to check connectivity zones for possible problems.

Usage

checkConnectivityZones(sf_zones)

Arguments

sf_zones

- sf dataframe with connectivity zones (polygons)

Details

Ideally, sf_zones should consist of non-overlapping polygons so that only one zone can be assigned to each geometry. If a point geometry is in an area of overlap between multiple zones, a record would normally be included in the result for each zone in which the point falls. If keepFirst is TRUE, the record for the first zone in which the point falls is kept. This is also the case if zones are assigned to multiple geomNames. Otherwise, records are added to the result for all zones in which a point falls.

Value

list with elements 'validity' and 'overlaps', containing output from running st_is_valid and st_overlaps, respectively, on sf_zones.


wStockhausen/rDisMELS documentation built on March 27, 2022, 1 a.m.