CatastRoNav provides access to services from the Cadastre of Navarre. With CatastRoNav, you can retrieve addresses, buildings and cadastral parcels through its INSPIRE ATOM, WFS and WMS services.
You can install the development version of CatastRoNav from r-universe:
# Install CatastRoNav from r-universe.
install.packages(
"CatastRoNav",
repos = c(
"https://ropenspain.r-universe.dev",
"https://cloud.r-project.org"
)
)Alternatively, install the development version from GitHub with the pak package:
pak::pak("rOpenSpain/CatastRoNav")Functions in CatastRoNav are organized by source service. Function
names follow the catrnav_*service*_*description* convention.
CatastRoNav retrieves cadastral data from the Cadastre of Navarre through three INSPIRE services:
The ATOM service downloads complete municipal datasets for addresses,
buildings and cadastral parcels. Download functions return sf objects
from the sf package. Index and search functions return tibbles.
These functions use the catrnav_atom_get_*() prefix.
The WFS service retrieves cadastral features within a supplied bounding
box. Results are returned as sf objects from the
sf package. For full municipal
downloads, prefer the ATOM service.
These functions use the catrnav_wfs_get_*() prefix.
The WMS service downloads georeferenced map images for addresses,
buildings and cadastral parcels. catrnav_wms_get_layer() returns a
SpatRaster object from the terra package.
Data are provided by the Government of Navarre under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. The service is provided “as is” without warranties of any kind, either express or implied.
Data source: SITNA – Government of Navarre.
library(CatastRoNav)
library(ggplot2)
wfs_get_buildings <- catrnav_wfs_get_buildings_bbox(
c(-1.652563, 42.478016, -1.646919, 42.483333),
srs = 4326
)
# Plot the buildings.
ggplot(wfs_get_buildings) +
geom_sf() +
ggtitle("Olite, Navarra")Downloaded files are cached locally. Use catrnav_detect_cache_dir() to
inspect the active cache, catrnav_set_cache_dir() to configure it and
catrnav_clear_cache() to remove cached data.
Hernangómez D (2026). CatastRoNav: Interface to the INSPIRE Services of the Cadastre of Navarre. doi:10.5281/zenodo.6366407. https://ropenspain.github.io/CatastRoNav/.
A BibTeX entry for LaTeX users is:
@Manual{R-catastronav,
title = {{CatastRoNav}: Interface to the INSPIRE Services of the Cadastre of Navarre},
year = {2026},
version = {1.0.0},
author = {Diego Hernangómez},
doi = {10.5281/zenodo.6366407},
url = {https://ropenspain.github.io/CatastRoNav/},
abstract = {Provides access to public spatial data from the Cadastre of Navarre through its INSPIRE ATOM, WFS and WMS services. Supports complete municipal dataset downloads, bounding box feature queries and georeferenced map image downloads for addresses, buildings and cadastral parcels.},
}
See the source code and issue tracker on GitHub.
The CatastRo package provides similar functionality for the rest of Spain, excluding the Basque Country and Navarre.

