Get layer information from a feature service
Arguments
- url
the feature service url
- ...
Named arguments passed on to
.cache_download
.nocache
if set to TRUE all caching is disabled
.cache
the location of the downloaded files
.stale
how long to leave this file before replacing it.
.extn
the file name extension
Examples
svc = "https://services1.arcgis.com/ESMARspQHYMw9BZ9/ArcGIS/rest/services"
fs = sprintf("%s/%s",svc,"Countries_December_2024_Boundaries_UK_BUC/FeatureServer")
url = sprintf("%s/%s",fs,"0")
featureServerInfo(fs)
#> # A tibble: 1 × 9
#> id name parentLayerId defaultVisibility subLayerIds minScale maxScale
#> <int> <chr> <int> <lgl> <lgl> <int> <int>
#> 1 0 CTRY_DEC_… -1 TRUE NA 0 0
#> # ℹ 2 more variables: type <chr>, geometryType <chr>