Skip to contents

CatastRoNav is a package that provide access to different API services of the Cadastre of Navarre. With CatastRoNav it is possible to download spatial objects as buildings or cadastral parcels.

Installation

You can install the developing version of CatastRoNav using the r-universe:

# Enable this universe
options(repos = c(
  ropenspain = "https://ropenspain.r-universe.dev",
  CRAN = "https://cloud.r-project.org"
))
install.packages("CatastRoNav")

Alternatively, you can install the developing version of CatastRoNav with:

library(remotes)
install_github("rOpenSpain/CatastRoNav", dependencies = TRUE)

Usage

The WFS service allows to download vector objects of specific cadastral elements. The result is provided as sf objects (See sf package).


library(CatastRoNav)
library(ggplot2)

wfs_get_buildings <- catrnav_wfs_get_buildings_bbox(
  c(-1.652563, 42.478016, -1.646919, 42.483333),
  srs = 4326
)
# Map
ggplot(wfs_get_buildings) +
  geom_sf() +
  ggtitle("Olite, Navarra")

Citation

To cite ‘CatastRoNav’ in publications use:

Hernangomez D (2022). CatastRoNav: Interface to the INSPIRE services of Catastro de Navarra. https://doi.org/10.5281/zenodo.6366407, https://ropenspain.github.io/CatastRoNav/

A BibTeX entry for LaTeX users is:

@Manual{R-catastronav,
  title = {{CatastRoNav}: Interface to the {API} Catastro de Navarra},
  author = {Diego Hernangómez},
  year = {2022},
  version = {0.0.1.9000},
  doi = {10.5281/zenodo.6366407},
  url = {https://ropenspain.github.io/CatastRoNav/},
  abstract = {Access public spatial data available under the INSPIRE directive. Tools for downloading references, buildings and addresses of properties on Navarre (Spain).},
}

See also

The package CatastRo provides similar functionalities for Spain excluding the Basque Country and Navarre.

Terms and conditions of use

Data provided by the Government of Navarre under Creative Commons Attribution (CC BY 4.0). The service is provided “as is”, and without guarantee of any kind, implicit or explicit.

Data source: SITNA – Government of Navarre