Produces customisable images of OpenStreetMap data. Extracts OpenStreetMap data for specified key-value pairs (e.g. key="building") using the overpass API. Different OSM objects can be plotted in different colours using the function add_osm_objects(). The function group_osm_objects() enables customised highlighting of selected regions using different graphical schemes designed to contrast with surrounding backgrounds.
Package: osmplotr
Title: Customisable Images of OpenStreetMap Data
Version: 0.1-2
Date: 2016-03-01
Authors@R: person("Mark", "Padgham", email = "mark.padgham@email.com", role = c("aut", "cre"))
Description: Produces customisable images of OpenStreetMap data. Extracts OpenStreetMap data for specified key-value pairs (e.g. key="building") using the overpass API. Different OSM objects can be plotted in different colours using the function add_osm_objects(). The function group_osm_objects() enables customised highlighting of selected regions using different graphical schemes designed to contrast with surrounding backgrounds.
Depends: R (>= 3.2.3)
Imports:
ggm,
igraph,
httr,
methods,
osmar,
rgeos,
sp,
spatstat,
XML,
Suggests: knitr,
roxygen2,
rmarkdown,
devtools,
maptools,
RColorBrewer
License: GPL-3
URL: https://github.com/mpadge/osmplotr
LazyData: true
VignetteBuilder: knitr
In short: This is the only package that allows OpenStreetMap data to be presented in a visually customisable way.
Produces visually impressive customisable images from OpenStreetMap data
[added by @richfitz:
]
github
OpenStreetMap
Anyone working in the built environment wanting to improve data visualisation
No there are not. "openstreetmap" merely pulls straight raster images that are definitely not customisable at all. "osmar"---on which "osmplotr" depends---does provide plot methods, but these are very restricted and not able to be customised any further. "tmap" provides customisable spatial visualisations, but only uses OSM data directly from the "OpenStreetMap" package, which yields a direct OSM-style raster file that is not customisable. (tmap is also not on git nor any other open repo.)
In short: This is the only package that allows OpenStreetMap data to be presented in a visually customisable way.
devtoolsinstall instructionsdevtools::check()produce any errors or warnings?Most package functionality is already tested in the vignettes, and thus there are currently no unit tests. The most important way to test the package is to use it to extract strange kinds of OpenStreetMap data -- not something that can be performed with any inbuilt tests. I plan to incorporate tests once I hear of strange behaviour, but can not pre-empt what this might be.