Spatial Data Framework for ggplot2
Overview
Spatial data plus the power of the ggplot2 framework means easier mapping when input data are already in the form of spatial objects.
- Add support for passing an API key to rosm sources that require it (#138, #139).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 20 (2 internal)includes a package overview page
- Examples that run
- 56%10 run in a plain check · 8 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 94%
- Documented parameters
- 73%
- Return-value docs
- 72%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/paleolimbot/ggspatial on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-09-15 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing ggspatial adds 47 packages (26 with compiled code, 47 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.
Show all 40 packagesHide all 40 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.1.11Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.102025-08-24 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.92023-08-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1.82023-04-13 · diff ↗
- 1.1.72022-11-24 · diff ↗
- 1.1.62022-07-09 · diff ↗ ·
added 4 exports
GeomSpatRaster, StatSpatRaster, StatSpatRasterAnnotation, StatSpatRasterDf - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.1.52021-01-04 · diff ↗
- 1.1.42020-07-13 · diff ↗
- 1.1.32020-06-09 · diff ↗
- 1.1.22020-05-26 · diff ↗
Show 10 earlier eventsHide 10 earlier events
- 1.1.12020-04-27 · diff ↗ ·
added 20 exports
GeomSpatialStars, GeomSpatialXline, StatSpatialRect, StatSpatialSegment, StatSpatialStars, StatSpatialStarsAnnotation, StatSpatialStarsDf, StatSpatialTile, aes, annotation_spatial_hline, annotation_spatial_vline, coord_sf, fixed_plot_aspect, geom_sf, geom_spatial_rect, geom_spatial_segment, geom_spatial_tile, ggplot, shadow_spatial, waiver - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.0.32018-12-14 · diff ↗ ·
added 4 exports
geom_spatial_label, geom_spatial_label_repel, geom_spatial_text, geom_spatial_text_repel - 1.0.22018-10-27 · diff ↗ ·
removed 9 exports
annotation_spraster, geom_osm, geom_spatial, geom_spraster_rgb, ggosm, ggraster, ggspatial, spatial_fortify, stat_project - 1.0.12018-07-12 · diff ↗ ·
removed 4 exports
as.CRS, bboxTransform, stat_rgba, xyTransformadded 25 exports
GeomMapTile, GeomNorthArrow, GeomScaleBar, GeomSpatialRaster, StatSpatialRaster, StatSpatialRasterAnnotation, StatSpatialRasterDf, annotation_map_tile, annotation_north_arrow, annotation_scale, annotation_spatial, df_spatial, geom_polypath, geom_spatial_path, geom_spatial_point, geom_spatial_polygon, layer_spatial, load_longlake_data, north_arrow_fancy_orienteering, north_arrow_minimal, north_arrow_nautical, north_arrow_orienteering, spatial_fortify, stat_spatial_identity, xy_transform - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.2.12017-04-02
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-04-02
- Total releases
- 15 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ggspatial")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.