knitr::opts_chunk$set( collapse = TRUE, message = FALSE, warning = FALSE, dev = "ragg_png", dpi = 300, tidy = "styler", comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(CatastRoNav)
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.
You can install the developing version of CatastRoNav using the r-universe:
# Install CatastRoNav in R: install.packages("CatastRoNav", repos = c( "https://ropenspain.r-universe.dev", "https://cloud.r-project.org" ) )
Alternatively, you can install the developing version of CatastRoNav with:
remotes::install_github("rOpenSpain/CatastRoNav", dependencies = TRUE)
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")
print(citation("CatastRoNav"), style = "html")
A BibTeX entry for LaTeX users is:
toBibtex(citation("CatastRoNav"))
The package CatastRo provides similar functionalities for Spain excluding the Basque Country and Navarre.
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
All contributions to this project are gratefully acknowledged using the allcontributors
package following the allcontributors specification. Contributions of any kind are welcome!
dieghernan |
fgoerlich |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.