Learn R Programming

arcpullr (version 0.3.2)

valid_sp_rel: 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)

Value

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

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

Examples

Run this code
valid_sp_rel("line", "line")

Run the code above in your browser using DataLab