Learn R Programming

ggspatial (version 1.1.11)

Spatial Data Framework for ggplot2

Description

Spatial data plus the power of the ggplot2 framework means easier mapping when input data are already in the form of spatial objects.

Copy Link

Version

Install

install.packages('ggspatial')

Monthly Downloads

14,941

Version

1.1.11

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Dewey Dunnington

Last Published

September 14th, 2026

Functions in ggspatial (1.1.11)

annotation_spatial_hline

Projected horizontal and vertical lines
annotation_map_tile

Add background OSM tiles
ggspatial-package

ggspatial: Spatial Data Framework for ggplot2
geom_polypath

Polygons with holes in ggplot2
geom_spatial_segment

Spatial line segments
annotation_scale

Spatial-aware scalebar annotation
geom_spatial_rect

Projected rectangular regions
annotation_north_arrow

Spatial-aware north arrow
df_spatial

Create a ggplot-friendly data frame from a spatial object
fixed_plot_aspect

Enforce a plot aspect ratio
stat_spatial_identity

Spatial-aware ggplot2 layers
layer_spatial.stars

Spatial ggplot2 layer for stars objects
layer_spatial.Raster

Spatial ggplot2 layer for raster objects
load_longlake_data

Load longlake test data
xy_transform

Coordinate transform
layer_spatial

Turn a spatial object into a ggplot2 layer
layer_spatial.SpatRaster

Spatial ggplot2 layer for SpatRaster objects
layer_spatial.bbox

Add a bounding box to a map
north_arrow_orienteering

North arrow styles
reexports

Objects exported from other packages