Skip to contents

These functions showcase different map projections.

Usage

df_cartography_project_equirectangular()

df_cartography_project_gallpeters()

df_cartography_project_hobodyer()

df_cartography_project_mercator()

df_cartography_project_winkeltripel()

df_cartography_project_robinson()

df_cartography_project_goodehomolosine()

df_cartography_project_equalearth()

Value

A ggplot2 object

Details

The following projections are available:

  • Equi-rectangular: df_cartography_project_equirectangular()

  • Gall-Peters: df_cartography_project_gallpeters()

  • Hobo-Dyer: df_cartography_project_hobodyer()

  • Mercator: df_cartography_project_mercator()

  • Wikel-Tripel: df_cartography_project_winkeltripel()

  • Robinson: df_cartography_project_robinson()

  • Goode Homolosine: df_cartography_project_goodehomolosine()

  • Equal Earth: df_cartography_project_equalearth()

Examples

df_cartography_project_equirectangular()
#> Warning: The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0.
#> ℹ Please use the `linewidth` argument instead.
#> ℹ The deprecated feature was likely used in the geographer package.
#>   Please report the issue to the authors.
#> Warning: The `size` argument of `element_rect()` is deprecated as of ggplot2 3.4.0.
#> ℹ Please use the `linewidth` argument instead.
#> ℹ The deprecated feature was likely used in the geographer package.
#>   Please report the issue to the authors.

df_cartography_project_gallpeters()

df_cartography_project_hobodyer()

df_cartography_project_mercator()
#> Coordinate system already present.
#> ℹ Adding new coordinate system, which will replace the existing one.

df_cartography_project_winkeltripel()

df_cartography_project_robinson()

df_cartography_project_goodehomolosine()

df_cartography_project_equalearth()