Produces customisable images of OpenStreetMap (OSM) data and enables data visualisation using OSM objects. Extracts data using the overpass API. Contains the following functions, data, and vignettes.
Data Functions
extract_osm_objects
: Download arbitrary OSM objectsconnect_highways
: Returns points sequentially connecting list of named highways
Basic Plotting Functions (without data)
add_axes
: Overlay longitudinal and latitudinal axes on plotadd_osm_objects
: Overlay arbitrary OSM objectsmake_osm_map
: Automate map production with structures defined inosm_structures
osm_structures
: Define structures and graphics schemes for automating map productionosm_basemap
: Initiate aggplot2
object for an OSM mapprint_osm_map
: Print a map to specified graphics device
Advanced Plotting Functions (with data)
add_osm_groups
: Overlay groups of objects using specified colour schemeadd_osm_surface
: Overlay data surface by interpolating given dataadd_colourbar
: Overlay a scaled colourbar for data added withadd_osm_surface
Colour Manipulation Functions
adjust_colours
: Lighted or darken given colours by specified amountcolour_mat
: Generate continuous 2D spatial matrix of colours
Other Functions
get_bbox
: return bounding box from input vector
Data
london
: OSM Data from a small portion of central London
Vignettes
basic-maps
: Describes basics of downloading data and making custom mapsdata-maps
: Describes how map elements can be coloured according to user-provided data, whether categorical or continuous
Author
Maintainer: Mark Padgham mark.padgham@email.com
Authors:
Richard Beare
Other contributors:
Finkelstein Noam (Author of included stub.R code) [contributor, copyright holder]
Bartnik Lukasz (Author of included stub.R code) [contributor, copyright holder]