Package 'landr'

Title: Add land polygons to ggplot2 maps
Description: Add land polygons to ggplot2 maps.
Authors: Pieter Provoost [aut, cre]
Maintainer: Pieter Provoost <[email protected]>
License: `use_mit_license()`
Version: 0.0.2
Built: 2024-11-22 03:05:35 UTC
Source: https://github.com/pieterprovoost/landr

Help Index


This geom adds land polygons from OpenStreetMap to ggplot2 maps.

Description

This geom adds land polygons from OpenStreetMap to ggplot2 maps.

Usage

geom_landr(after = 0, simplified = FALSE)

Arguments

simplified

return simplified polygons.

after

index of the layer after which the land polygons should be added. Set to 0 to add at the bottom.


Load land polygons from OpenStreetMap.

Description

Load land polygons from OpenStreetMap.

Usage

get_land_polygons(simplified = FALSE)

Arguments

simplified

return simplified polygons.


Add land polygons to ggplot2 maps

Description

This package adds land polygons from OpenStreetMap to ggplot2 maps.

Author(s)

Pieter Provoost, [email protected]