valid_sp_rel: Check to see which spatial relation types are applicable to...

View source: R/utilities.R

valid_sp_relR Documentation

Check to see which spatial relation types are applicable to the feature classes being queried and the sf objects use do to a spatial query

Description

Check to see which spatial relation types are applicable to the feature classes being queried and the sf objects use do to a spatial query

Usage

valid_sp_rel(fc1, fc2, pull = TRUE)

Arguments

fc1

Character. The feature class type being queried. Available options are "point", "multipoint", "line", or "area".

fc2

Character. The geometry type of the sf object used to do a spatial query. Available options are "point", "multipoint", "line", or "area".

pull

Logical. Pull the available options (TRUE) or print all columns of the sp_rel_valid data.frame for the appropriate fc1 and fc2

Value

Either a vector or filtered data.frame showing the appropriate sp_rels for the given feature classes

Examples

valid_sp_rel("line", "line")

arcpullr documentation built on May 31, 2023, 6:43 p.m.