A wrapper for getdata::get_esri_data()
Arguments
- area
Area (passed to location), Default: NULL
- nm
nm (should match a single value from baltimore_gis_index$nm), Default: NULL
- type
Type used as an alias for a nm value, Default: NULL
- crs
Coordinate reference system, Default: NULL
- ...
Arguments passed on to
getdata::get_esri_data
url
FeatureServer or MapServer url to retrieve data from. Passed to
url
parameter ofesri2sf::esri2sf()
oresri2sf::esri2df()
functions. Forget_esri_layers()
, the optional url must be a service url which is the base url for one or more layer urls.location
sf
,sfc
, orbbox
object (or other object convertible withas_bbox()
. Optional.dist
buffer distance in units. Optional.
diag_ratio
ratio of diagonal distance of area's bounding box used as buffer distance. e.g. if the diagonal distance is 3000 meters and the "diag_ratio = 0.1" a 300 meter will be used. Ignored when
dist
is provided.unit
Units for buffer. Supported options include "meter", "foot", "kilometer", and "mile", "nautical mile" Common abbreviations (e.g. "km" instead of "kilometer") are also supported. Distance in units is converted to units matching GDAL units for x; defaults to "meter"
asp
Aspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3"). If numeric,
get_asp()
returns the same value without modification.where
where query string passed to esri2sf, Default:
NULL
name,name_col
Name value and name column found in the ArcGIS FeatureServer or MapServer data.
coords
Coordinate columns for input data.frame or output sf object (if geometry is 'centroid' or 'point') Default: c("lon", "lat").
from_crs
For
df_to_sf()
, coordinate reference system used by coordinates or well known text in data frame.clean_names
If
TRUE
, set .name_repair tojanitor::make_clean_names()
Ignored whenget_esri_metadata()
is not returning a data.frame, e.g.meta = "id"
.token
string for authentication token. defaults to
NULL
.progress
Show progress bar from
cli::cli_progress_along()
ifTRUE
. DefaultFALSE
.quiet
If
TRUE
, usesuppressMessages()
to prevent the printing of messages about the requested layer. Defaults toFALSE
..name_repair
Defaults to "check_unique"