
ATOM INSPIRE: download all addresses for a municipality
Source:R/atom-ad.R
catrnav_atom_get_address.RdDownloads spatial data for all addresses in a municipality using the ATOM INSPIRE service provided by the Cadastre of Navarre.
Usage
catrnav_atom_get_address(
munic,
cache = deprecated(),
update_cache = FALSE,
cache_dir = NULL,
verbose = FALSE
)Arguments
- munic
A single municipality name, partial name or cadastral code. Accepts a character string or numeric code. Use
catrnav_atom_search_munic()to search for available municipalities.- cache
This argument is no longer supported because results are always cached.
- update_cache
Logical. Whether to refresh the cached file. Defaults to
FALSE.- cache_dir
Path to a cache directory. If
NULL, uses the configured cache or a directory insidebase::tempdir(). Seecatrnav_set_cache_dir().- verbose
Logical. Whether to display informational messages.
Details
Empty, missing or non-scalar values of munic produce an error before
any download is attempted. Returns NULL if no municipality matches munic.
Municipal ZIP archives are read directly without extracting their contents
to disk.
See also
catrnav_atom_get_address_db_all() lists available municipal downloads.
catrnav_wfs_get_address_bbox() retrieves addresses within a bounding box
instead of downloading a complete municipal dataset.
catrnav_set_cache_dir() configures the download cache and
catrnav_clear_cache() removes cached downloads.
Query ATOM INSPIRE services:
catrnav_atom_get_address_db_all(),
catrnav_atom_get_buildings(),
catrnav_atom_get_buildings_db_all(),
catrnav_atom_get_parcels(),
catrnav_atom_get_parcels_db_all(),
catrnav_atom_search_munic()
Work with cadastral addresses:
catrnav_atom_get_address_db_all(),
catrnav_wfs_get_address_bbox(),
catrnav_wms_get_layer()
