CATASTRO_TIMEOUT and CATASTRO_SSL_VERIFY environment variables. The existing catastro_timeout and catastro_ssl_verify options still take precedence (#82).catr_atom_get_*() functions now respect exact territorial office matches, propagate cache refresh options and preserve the update date of each ATOM entry.catr_atom_search_munic() now filters results when to matches exactly one territorial office.catr_clear_cache() now reports incomplete deletions instead of announcing success when files remain.catr_ovc_get_rccoor() now preserves the correct X and Y coordinates when the API returns an error.catr_ovc_get_rccoor_distancia() now reports API errors and returns the queried coordinates and SRS.This major release introduces a full overhaul of the codebase and test suite. All requests now use httr2. Cached files are organized into topic-based subdirectories for easier management.
Because of internal changes, existing caches are not compatible with this release and must be rebuilt.
Persistent cache directories now use tools::R_user_dir() instead of
rappdirs::user_config_dir(). If you already have a cache directory,
CatastRo displays a one-time migration message.
The package now requires R ≥ 4.1.0 and dependency updates improve both
performance and maintainability. Data retrieval functions return tidy objects
(tibbles, sf objects with tibble data or SpatRaster objects).
options(catastro_ssl_verify = 0) to disable SSL verification.options(catastro_timeout = 300) (default value). Check httr2::req_timeout() for details.Note: Previous caches must be recreated.
cache argument is deprecated in all functions.inspire_wfs_get(), a general function that downloads data from any INSPIRE-based service endpoint.catr_atom_get_address() also returns the names of the streets (layer "ThoroughfareName" of the *.gml file). The new fields are named with the prefix tfname_*.cache_dir: catr_detect_cache_dir().catr_wms_get_layer() is now compatible with mapSpain (>= 0.7.0).Suggests.catr_get_code_from_coords() now handles sfc objects (#26).catr_clear_cache() now has config = FALSE as the default.Overall revamp of the package. Major changes to the API.
catr_atom_get_address(), catr_atom_get_address_db_all().catr_atom_get_parcels(), catr_atom_get_parcels_db_all().catr_atom_get_buildings(), catr_atom_get_buildings_db_all().catr_wfs_get_address_bbox(), catr_wfs_get_address_codvia(), catr_wfs_get_address_postalcode(), catr_wfs_get_address_rc().catr_wfs_get_parcels_neigh_parcel(), catr_wfs_get_parcels_parcel(), catr_wfs_get_parcels_parcel_zoning(), catr_wfs_get_parcels_zoning().catr_wfs_get_buildings_bbox(), catr_wfs_get_buildings_rc().catr_wms_get_layer().?catr_srs_values replaces coordinates.catr_ovc_get_rccoor_distancia() replaces near_rc().catr_ovc_get_rccoor() replaces get_rc().catr_ovc_get_cpmrc() replaces get_coor().