title: "Spatial Queries" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Introduction to arcpullr} %\VignetteEncoding{UTF-8} %\VignetteEngine{knitr::rmarkdown} editor_options: markdown: wrap: 72
To see more complete package documentation check out: https://pfrater.github.io/arcpullr/
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = FALSE, message = FALSE ) library(arcpullr) library(sf) sf::sf_use_s2(FALSE)
#<img src='../man/figures/logo.png' width="160" height="180" style="border: none; float: right"/>
ArcGIS REST API's may be spatially queried using the get_layer_by_* family of
functions. These functions require a spatial object of
class sf
(i.e. of the R package sf:
Simple Features for R) and a
Spatial Relationship
to be passed to the geometry and sp_rel
arguments respectively.
The package contains five functions that can be used to perform spatial queries:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.