
Download and parse GIS features from an ArcGIS REST GeoJSON URL, with optional AOI
Source:R/get_gis_from_url.R
get_gis_from_url.RdDownload and parse GIS features from an ArcGIS REST GeoJSON URL, with optional AOI
Arguments
- url
Character. A full ArcGIS REST API query URL returning GeoJSON (must include
f=geojsonorf=json).- save_as
Optional character. Base file name (without extension) to save the result as a Shapefile.
- where
Optional character. SQL-like
WHEREclause to filter features (e.g.,"County = 'Columbia'").- aoi
Optional
sfpolygon. If supplied, calculates an envelope for spatial filtering.