North Symbols and Scale Bars for Maps Created with 'ggplot2' or 'ggmap'

Adds north symbols (18 options) and scale bars in kilometers to maps in geographic or metric coordinates created with 'ggplot2' or 'ggmap'.


ggsn 0.4.0

  • scalebar function now support two faceting variables, thanks to Johan Junkka.

  • Fixed typo for north function (when location == 'topright'), thanks to Weihuang Wong.

ggsn 0.3.1

  • New arguments in scalebar function to control the scale bar position when faceting. It is possible to place the scale bar just in one facet.

  • broom package suggested for function's examples.

  • maptools replaced by rgdal for shapfiles reading.

ggsn 0.3.0

  • Functions from grid package are selectively imported.

  • Examples changed to avoid the use of the rgdal package (currently, some users might get "WARNING: no proj_defs.dat in PROJ.4 shared files", using this package).

ggsn 0.2.0

  • 'ggplot2' includaded as a loaded dependency (previoulsy just imported).

  • 'plot' and 'rasterImage' functions imported from graphics.

  • function 'symbols' renamed as 'northSymbols' to avoid masking.

  • function 'theme_bln' renamed as 'blank'.

ggsn 0.1.1

  • First development version.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.0 by Oswaldo Santos Baquero, a year ago

Browse source code at

Authors: Oswaldo Santos Baquero [aut, cre]

Documentation:   PDF Manual  

Task views: Analysis of Spatial Data

GPL (>= 2) license

Imports png, grid, maptools, graphics

Depends on ggplot2

Suggests rgdal, ggmap, broom

Imported by FLightR.

See at CRAN