Skip to content

Commit

Permalink
Merge pull request #88 from rOpenSpain/tiles
Browse files Browse the repository at this point in the history
Improve tile API
  • Loading branch information
dieghernan authored Dec 20, 2022
2 parents c40dc8d + 5cc3c50 commit af16f5b
Show file tree
Hide file tree
Showing 96 changed files with 1,199 additions and 689 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
extra-packages: any::covr
needs: coverage
cache-version: tile

- name: Test coverage
run: covr::codecov()
Expand Down
48 changes: 30 additions & 18 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.3.0
# CITATION file created with {cffr} R package, v0.4.0
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------

Expand All @@ -8,7 +8,7 @@ message: 'To cite package "mapSpain" in publications use:'
type: software
license: GPL-3.0-only
title: 'mapSpain: Administrative Boundaries of Spain'
version: 0.6.2.9000
version: 0.6.2.9010
doi: 10.5281/zenodo.5366622
abstract: Administrative Boundaries of Spain at several levels (Autonomous Communities,
Provinces, Municipalities) based on the 'GISCO' 'Eurostat' database <https://ec.europa.eu/eurostat/web/gisco>
Expand All @@ -31,7 +31,7 @@ preferred-citation:
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
year: '2022'
version: 0.6.2.9000
version: 0.6.2.9010
doi: 10.5281/zenodo.5366622
url: https://ropenspain.github.io/mapSpain/
abstract: Administrative Boundaries of Spain at several levels (Autonomous Communities,
Expand Down Expand Up @@ -73,45 +73,49 @@ references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
location:
name: Vienna, Austria
year: '2022'
url: https://www.R-project.org/
institution:
name: R Foundation for Statistical Computing
version: '>= 3.6.0'
- type: software
title: countrycode
abstract: 'countrycode: Convert Country Names and Country Codes'
notes: Imports
url: https://vincentarelbundock.github.io/countrycode/
repository: https://CRAN.R-project.org/package=countrycode
authors:
- family-names: Arel-Bundock
given-names: Vincent
email: [email protected]
orcid: https://orcid.org/0000-0003-2042-7063
year: '2022'
url: https://CRAN.R-project.org/package=countrycode
version: '>= 1.2.0'
- type: software
title: giscoR
abstract: 'giscoR: Download Map Data from GISCO API - Eurostat'
notes: Imports
url: https://ropengov.github.io/giscoR/
repository: https://CRAN.R-project.org/package=giscoR
authors:
- family-names: Hernangómez
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenGov
year: '2022'
url: https://CRAN.R-project.org/package=giscoR
version: '>= 0.2.4'
- type: software
title: rappdirs
abstract: 'rappdirs: Application Directories: Determine Where to Save Data, Caches,
and Logs'
notes: Imports
url: https://rappdirs.r-lib.org
repository: https://CRAN.R-project.org/package=rappdirs
authors:
- family-names: Ratnakumar
given-names: Sridhar
Expand All @@ -120,19 +124,19 @@ references:
- family-names: Davis
given-names: Trevor
year: '2022'
url: https://CRAN.R-project.org/package=rappdirs
version: '>= 0.3.0'
- type: software
title: sf
abstract: 'sf: Simple Features for R'
notes: Imports
url: https://r-spatial.github.io/sf/
repository: https://CRAN.R-project.org/package=sf
authors:
- family-names: Pebesma
given-names: Edzer
email: [email protected]
orcid: https://orcid.org/0000-0001-8049-7069
year: '2022'
url: https://CRAN.R-project.org/package=sf
version: '>= 0.9.0'
- type: software
title: utils
Expand All @@ -143,13 +147,14 @@ references:
location:
name: Vienna, Austria
year: '2022'
url: https://www.R-project.org/
institution:
name: R Foundation for Statistical Computing
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
notes: Suggests
url: https://ggplot2.tidyverse.org
repository: https://CRAN.R-project.org/package=ggplot2
authors:
- family-names: Wickham
given-names: Hadley
Expand Down Expand Up @@ -179,24 +184,26 @@ references:
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
year: '2022'
url: https://CRAN.R-project.org/package=ggplot2
version: '>= 3.0.0'
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: [email protected]
orcid: https://orcid.org/0000-0003-0645-5666
year: '2022'
url: https://CRAN.R-project.org/package=knitr
- type: software
title: leaflet
abstract: 'leaflet: Create Interactive Web Maps with the JavaScript ''Leaflet''
Library'
notes: Suggests
url: https://rstudio.github.io/leaflet/
repository: https://CRAN.R-project.org/package=leaflet
authors:
- family-names: Cheng
given-names: Joe
Expand All @@ -206,23 +213,25 @@ references:
- family-names: Xie
given-names: Yihui
year: '2022'
url: https://CRAN.R-project.org/package=leaflet
version: '>= 2.0.0'
- type: software
title: png
abstract: 'png: Read and write PNG images'
notes: Suggests
url: http://www.rforge.net/png/
repository: https://CRAN.R-project.org/package=png
authors:
- family-names: Urbanek
given-names: Simon
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=png
version: '>= 0.1-5'
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
Expand Down Expand Up @@ -257,11 +266,12 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0003-3925-190X
year: '2022'
url: https://CRAN.R-project.org/package=rmarkdown
- type: software
title: slippymath
abstract: 'slippymath: Slippy Map Tile Tools'
notes: Suggests
url: https://www.github.com/milesmcbain/slippymath
repository: https://CRAN.R-project.org/package=slippymath
authors:
- family-names: McBain
given-names: Miles
Expand All @@ -271,40 +281,42 @@ references:
given-names: Michael
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=slippymath
version: '>= 0.3.1'
- type: software
title: terra
abstract: 'terra: Spatial Data Analysis'
notes: Suggests
url: https://rspatial.org/terra/
repository: https://CRAN.R-project.org/package=terra
authors:
- family-names: Hijmans
given-names: Robert J.
email: [email protected]
orcid: https://orcid.org/0000-0001-5872-2872
year: '2022'
url: https://CRAN.R-project.org/package=terra
version: '>= 1.1-4'
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
notes: Suggests
url: https://testthat.r-lib.org
repository: https://CRAN.R-project.org/package=testthat
authors:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=testthat
version: '>= 3.0.0'
- type: software
title: tidyterra
abstract: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Helpers for ''terra''
Objects'
notes: Suggests
url: https://dieghernan.github.io/tidyterra/
repository: https://CRAN.R-project.org/package=tidyterra
authors:
- family-names: Hernangómez
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
year: '2022'
url: https://CRAN.R-project.org/package=tidyterra
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: mapSpain
Title: Administrative Boundaries of Spain
Version: 0.6.2.9000
Version: 0.6.2.9010
Authors@R:
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
Expand Down Expand Up @@ -46,7 +46,7 @@ Copyright: © EuroGeographics for the administrative boundaries. Atlas
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.2
RoxygenNote: 7.2.3
X-schema.org-applicationCategory: cartography
X-schema.org-isPartOf: https://ropenspain.es/
X-schema.org-keywords: rOpenSpain, tiles, r, maps, spatial, rstats,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ export(layer_spatraster)
export(providerEspTileOptions)
importFrom(sf,st_transform)
importFrom(utils,download.file)
importFrom(utils,modifyList)
importFrom(utils,unzip)
7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# mapSpain (development version)

- Upgrade `leaflet.providersESP.df` to
<https://dieghernan.github.io/leaflet-providersESP/> v1.3.2.
<https://dieghernan.github.io/leaflet-providersESP/> v1.3.2.

- Changes on how to package manages tiles providers:

- `leaflet.providersESP.df` is superseded in favor of
`esp_tiles_providers`.

# mapSpain 0.6.2

Expand Down
Loading

0 comments on commit af16f5b

Please sign in to comment.