View source: R/checkConnectivityZones.R
checkConnectivityZones | R Documentation |
Function to check connectivity zones for possible problems.
checkConnectivityZones(sf_zones)
sf_zones |
- sf dataframe with connectivity zones (polygons) |
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.
list with elements 'validity' and 'overlaps', containing output from running
st_is_valid
and st_overlaps
, respectively,
on sf_zones
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.