filter_spatial: Get features topologically associated with extent bounds.

Description Usage Arguments

View source: R/Map_Functions.R

Description

Conducts a spatial join to retrieve spatial features that are topologically associated (intersects, contains, within, etc.) with the provided bounds.

Usage

1
2
filter_spatial(mapdata, bbox, agr_type = "constant",
  topo = sf::st_intersects)

Arguments

mapdata

The sf object containing the spatial data.

bbox

Bounding box.

agr_type

Inherited attribute-geometry-relationship type from plot_GCAM function params.

topo

SF topologic function to define how the join will be conducted. Default is to join any feature that intersects the bounding box.


JGCRI/gcammaptools documentation built on May 4, 2018, 8 a.m.