nearest.features: Habitat analysis: Nearest features

Description Usage Arguments Details

View source: R/nearest.features.R

Description

Calculates the shortest distance between a point and the edges of a feature. Preprocessing as in habitat.analysis.R

Usage

1
2
3
4
5
6
nearest.features(
  features = NULL,
  overlay = NULL,
  point = stringr::str_replace(overlay, "buffer.shp", ".shp"),
  root = "C:/OSGeo4W64"
)

Arguments

features

list of ESRI shapes

overlay

overlay ESRI shape file

point

point ESRI shape file

root

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

Details

1.) If feature is a polygon convert to lines using SAGA 2.) Create points along lines 3.) find nearest match between points of both layers


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