CATASTRONAV_TIMEOUT and CATASTRONAV_SSL_VERIFY environment variables. The existing catastronav_timeout and catastronav_ssl_verify options still take precedence.NULL.NULL.catrnav_atom_get_*() and catrnav_atom_search_munic() deprecate the cache argument. Results are always cached, as in CatastRo. Use a temporary cache_dir for session-only downloads and update_cache = TRUE to refresh ATOM data.catrnav_atom_get_address(), catrnav_atom_get_buildings() and catrnav_atom_get_parcels() now return NULL when no municipality matches and read municipal ZIP archives without extracting them to disk.catrnav_atom_get_address(), catrnav_atom_get_buildings(), catrnav_atom_get_parcels() and catrnav_atom_search_munic() now accept numeric municipality codes and reject missing, empty or non-scalar municipality inputs before requesting data.catrnav_atom_get_address_db_all(), catrnav_atom_get_buildings_db_all() and catrnav_atom_get_parcels_db_all() now retain reference timestamps in UTC instead of converting them to dates.catrnav_clear_cache() now reports unsuccessful or incomplete deletions and only announces success when the directory has been removed.catrnav_wfs_get_address_bbox(), catrnav_wfs_get_buildings_bbox() and catrnav_wfs_get_parcels_bbox() now retain responses in the CatastRoNav cache and apply its HTTP timeout and SSL verification settings without changing subsequent CatastRo requests.options(catastronav_timeout = 300) to set the timeout and options(catastronav_ssl_verify = 1L) to control SSL verification. These settings fall back to catastro_timeout and catastro_ssl_verify, respectively. Requests now detect offline sessions before downloading and failed requests return NULL instead of stopping execution.catrnav_atom_get_address(), catrnav_atom_get_buildings() and catrnav_atom_get_parcels() now select the closest municipality when a pattern matches multiple names and report the alternatives. Calls with cache = FALSE use temporary files and invalid arguments produce informative errors.catrnav_atom_get_address(), catrnav_atom_get_address_db_all(), catrnav_atom_get_buildings() and catrnav_atom_get_buildings_db_all() add ATOM capabilities for buildings and addresses (#11, #12) by @fgoerlich.catrnav_atom_search_munic() now searches the ATOM index by municipality name or cadastral code and returns all matches ordered by proximity.catrnav_clear_cache() now validates its arguments and reports the size of deleted cached data when verbose = TRUE.catrnav_detect_cache_dir() now reports the active cache directory.catrnav_set_cache_dir() now defaults cache_dir to NULL, validates its arguments and stores persistent configuration under tools::R_user_dir(). Existing configuration is migrated automatically from the previous location and is reliably restored in later sessions. Set cache_dir = FALSE to use a nonpersistent temporary cache even when install = TRUE.catrnav_wfs_get_address_bbox(), catrnav_wfs_get_buildings_bbox() and catrnav_wfs_get_parcels_bbox() now default srs to 4326, validate bounding boxes, CRS values and count, then use the CatastRo function inspire_wfs_get() for requests. Set options(catastronav_wfs_limit_km2 = ...) to warn when a query exceeds a chosen area in square kilometers. The default Inf disables this warning.catrnav_wms_get_layer() adds WMS INSPIRE support using mapSpain and terra. It retrieves address, building and cadastral parcel layers, supports the ELFCadastre parcel style and accepts additional mapSpain request settings through options. Offline or failed requests return NULL.run_example() now determines whether network-dependent examples should run based on CRAN status and network availability.count argument that sets the maximum number of features to be returned.catrnav_atom_get_parcels(). Other ATOM capabilities will be added when the Cadastre of Navarre makes them available.catrnav_set_cache_dir() and catrnav_detect_cache_dir().sf objects valid with sf::st_make_valid().This is a pre-release.
NEWS.md file to track changes to the package.