- addresses a bug where integers were encoded as floats. This caused a problem for using
update_features()
and specifying the OID field
- All geometry conversion functions:
as_esri_geometry()
,as_esri_features()
,as_esri_featureset()
,as_features()
andas_featureset()
have been rewritten from the ground up using Rust and extendr.arcgisutils
now requires Rust to build from sourcejsonify
is moved to Suggestsas_geometry()
is no longer exported...
argument is removed
auth_key()
is added to support authorization with an API key for ArcGIS Developers accountscatch_error()
is a new function which parses a string and catches the error as an object. This is useful when processing multiple responses at once.rbind_results()
is a new helper function that combines a list of results as efficiently as possible.arc_base_req()
gains two new argumentspath
andquery
which allows you to add query parameters and paths to the generated base requestarc_self_meta()
is a new function to provide access to the/self
endpoint. Closes #32- Null geometries are parsed into empty Geometry Collections using
sf::st_geometrycollection()
Fixed #168 - When Esri JSON contains 0 features,
parse_esri_json()
will create an emptydata.frame
with the fields that are returned with the appropriate R type.
parse_esri_json()
will return an emptydata.frame
in the presence of empty results an error. If an error is present, the error is reported- Breaking change to how authorization tokens are handled
- Tokens are now stored in internal environment
token_env
set_auth_token()
removed in favor ofset_arc_token()
set_arc_token()
allows for multiple named keys which are set to thetoken_env
arc_token()
fetches tokens directly from thetoken_env
unset_arc_token()
removes tokens fromtoken_env
- intended to be used with
arc_base_req()
- Tokens are now stored in internal environment
arc_base_req()
is introduce creating a standardized way to making base httr2 request objects.- httr2 must be >= 1.0.0 now
- New function
arc_agent()
is added to set a package specific user agent fetch_layer_metadata()
now putsf=json
in the url instead of the request body- accepts
NULL
tokens - uses
req_auth_bearer_token()
to include token in header - #8
- accepts
- Define
arc_token()
to get "ARCGIS_TOKEN" environment variable. This ensures that empty strings do not cause HTTP 498 "invalid token" error by returningNULL
in stead of an empty string. (#6) @kbvernon
- fix failing tests on oldrel. Use as.POSIXct.character instead of numeric
- fix typo in description
- Initial release