Skip to content

Commit

Permalink
Fix and redocument
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Apr 9, 2024
1 parent 4f495a8 commit d84fcb8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#' \describe{
#' \item{SRS}{Spatial Reference System (CRS) value, identified by the
#' corresponding
#' [EPSG][https://en.wikipedia.org/wiki/EPSG_Geodetic_Parameter_Dataset]
#' [EPSG](https://en.wikipedia.org/wiki/EPSG_Geodetic_Parameter_Dataset)
#' code.}
#' \item{Description}{Description of the SRS/EPSG code.}
#' \item{ovc_service}{Logical. Is this code valid on OVC services?}
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ These functions return spatial object (on the formats provided by the **sf** or
INSPIRE](https://www.catastro.minhap.es/webinspire/index.html) service.

Note that the coverage of this service is 95% of the Spanish territory,
[excluding Basque Country and Navarre[^1]]{.underline} that have their own
[excluding Basque Country and Navarre]{.underline}[^1] that have their own
independent cadastral offices.

[^1]: The package [**CatastRoNav**](https://ropenspain.github.io/CatastRoNav/)
provides access to the [Cadastre of Navarre](#0), with similar
functionalities than **CatastRo**.
provides access to the Cadastre of Navarre, with similar functionalities
than **CatastRo**.

There are three types of functions, each one querying a different service:

Expand Down
5 changes: 2 additions & 3 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Cadastral
CadastralParcel
CadastralZoning
Cadastre
CatastRoNav
Catastro
Consulta
ConsultaMunicipioCodigos
Expand Down Expand Up @@ -41,7 +42,6 @@ Royé
SALAMANCA
SRS
Sede
SpatRaster
TIRADERO
VH
WFS
Expand Down Expand Up @@ -70,14 +70,13 @@ huso
ine
ldt
loine
lon
lourb
mapSpain
organisations
ovc
pc
pnp
precomputed
pre
rOS
refcat
srs
Expand Down
2 changes: 1 addition & 1 deletion man/catr_srs_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/CatastRo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ ggplot(dataviz) +
```

<div class="figure">
<img src="./dataviz-1.png" alt="Granada: Urban growth" width="100%" />
<img src="./dviz-1.png" alt="Granada: Urban growth" width="100%" />
<p class="caption">Granada: Urban growth</p>
</div>

Expand Down
6 changes: 3 additions & 3 deletions vignettes/CatastRo.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ excluding Basque Country and Navarre[^1] that have their own independent
cadastral offices.

[^1]: The package [**CatastRoNav**](https://ropenspain.github.io/CatastRoNav/)
provides access to the [Cadastre of Navarre](#0), with similar
provides access to the Cadastre of Navarre, with similar
functionalities than **CatastRo**.

There are three types of functions, each one querying a different service:
Expand Down Expand Up @@ -173,7 +173,7 @@ city_bu <- catr_atom_get_buildings(city_catr_code$catrcode)
Next step for creating the visualization is to limit the analysis to a circle of
radius 1.5 km around the city center:

```{r minimal, fig.cap="Minimal cadastral map of Granada"}
```{r minimal, fig.cap="Minimal cadastral map of Granada", dpi=150}
buff <- city %>%
# Adjust CRS to 25830: (Buildings)
st_transform(st_crs(city_bu)) %>%
Expand Down Expand Up @@ -211,7 +211,7 @@ Last step is to create groups based on the year and create the data
visualization. We use here the function `cut()` to create classes for every
decade starting in year 1900:

```{r dataviz, fig.cap="Granada: Urban growth", fig.asp=0.75, dpi=90, crop=TRUE}
```{r dviz, fig.cap="Granada: Urban growth", fig.asp=0.75, crop=TRUE, dpi=150}
dataviz <- dataviz %>%
mutate(year_cat = cut(year,
breaks = c(0, seq(1900, 2030, by = 10)),
Expand Down
File renamed without changes

0 comments on commit d84fcb8

Please sign in to comment.