polygonise_territories: Polygonize territories

Description Usage Arguments Details

View source: R/polygonize_territories.R

Description

Based on all nest coordinates for a given territory, a polygon area is created using 'Delaunay triangulation'. Geometries are simplified using the 'Dissolve option' in 'QGIS3'

Usage

1
2
3
4
5
6
polygonise_territories(
  nests = buzzard_db[["repro_fledge_db"]],
  root = "C:/OSGeo4W64",
  temp.dir = "Shapes/temp/",
  out = "Shapes/TerrPolygon2.shp"
)

Arguments

nests

data frame

root

root of QGIS installation. By default attempts to find it automatically

out

path

tempdir

temp directory

Details

Applied to each territory separately to avoid issues caused by overlapping geometric features. Resulting polygon are then merged within a single shape file layer. Note, the triangulation and polygonization only works if there are at least three coordinates available. Hence, if this criterion is not fullfilled dummy coordinates are added.


mottensmann/DBChecks documentation built on Feb. 3, 2022, 9:21 p.m.