https://github.com/ropenspain/catastronav
R package to query Catastro de Navarra (Spain)
https://github.com/ropenspain/catastronav
catastro maps navarra r r-package r-stats ropenspain spain
Last synced: 20 days ago
JSON representation
R package to query Catastro de Navarra (Spain)
- Host: GitHub
- URL: https://github.com/ropenspain/catastronav
- Owner: rOpenSpain
- License: cc-by-4.0
- Created: 2022-03-17T13:25:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T20:37:53.000Z (about 1 month ago)
- Last Synced: 2025-04-28T14:14:09.297Z (20 days ago)
- Topics: catastro, maps, navarra, r, r-package, r-stats, ropenspain, spain
- Language: R
- Homepage: https://ropenspain.github.io/CatastRoNav/
- Size: 67.2 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Citation: CITATION.cff
- Codemeta: codemeta.json
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
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
[](https://ropenspain.es/)
[](https://ropenspain.r-universe.dev/CatastRoNav)
[](https://github.com/rOpenSpain/CatastRoNav/actions/workflows/roscron-check-standard.yaml)
[](https://app.codecov.io/gh/rOpenSpain/CatastroNav)
[](https://doi.org/10.5281/zenodo.6366407)
[](https://www.repostatus.org/#active)**CatastRoNav** is a package that provide access to different API services of
the [Cadastre of Navarre](https://geoportal.navarra.es/es/idena). 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](https://ropenspain.r-universe.dev/CatastRoNav):```{r, eval = FALSE}
# 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:
```{r, eval = FALSE}
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](https://r-spatial.github.io/sf/)).```{r wfs}
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
```{r echo=FALSE, results='asis'}
print(citation("CatastRoNav"), style = "html")
```A BibTeX entry for LaTeX users is:
```{r echo=FALSE, comment=''}
toBibtex(citation("CatastRoNav"))
```## See also
The package [CatastRo](https://CRAN.R-project.org/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)](https://creativecommons.org/licenses/by/4.0/). The service is
provided "as is", and without guarantee of any kind, implicit or explicit.Data source: [SITNA -- Government of
Navarre](https://geoportal.navarra.es/es/inspire)## Contributors
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [allcontributors](https://allcontributors.org) specification. Contributions of any kind are welcome!