findIntersectingPlots: Find plots that intersect that points of interest

View source: R/findIntersectingPlots.R

findIntersectingPlotsR Documentation

Find plots that intersect that points of interest

Description

findIntersectingPlots takes a fieldBookLL (i.e. output from agriPlot) and a given set of coordinates (i.e. pointsOfInterest) and outputs intersecting plots at a user-specified distance.

Usage

  findIntersectingPlots(fieldBookLL,pointsOfInterest,distance)

Arguments

fieldBookLL

agriPlot fieldBook output with Longitiude and Latitude for each plot

pointsOfInterest

Longitude and Latitude coordinates for points of interest. Input should be dataframe or matrix

distance

the distance threshold in meters for where a plot intersects with a points of interest. Plots that have a distance less than the threshold are output as intersecting.

Details

The function returns a data frame with long/lat values for each plot in a fieldBook that intersects with pointsOfInterest based on a defined distance

Value

Intersecting plots

Examples

  ##Vignette at https://github.com/cb-agr/agriPlot

cb-agr/agriPlot documentation built on April 14, 2022, 1:01 p.m.