Skip to contents

This package offers a set of handy tool functions for reading and processing spatial data. The aim of these functions is to supply the workflow to create thematic maps, e.g. read shape files, set map projections, append data, calculate areas and distances, and query OpenStreetMap. The visualization of thematic maps can be done with the tmap package.

Details

This page provides a brief overview of all package functions.

Tool functions (shape)

approx_areasApproximate area sizes of polygons
approx_distancesApproximate distances
bbCreate, extract or modify a bounding box
bb_polyConvert bounding box to a polygon
get_asp_ratioGet the aspect ratio of a shape object
——————————————————————————————————————————

Tool functions (colors)

get_brewer_palGet and plot a (modified) Color Brewer palette
map_coloringFind different colors for adjacent polygons
palette_explorerExplore Color Brewer palettes
——————————————————————————————————————————

Spatial transformation functions

crop_shapeCrop shape objects
simplify_shapeSimplify a shape
——————————————————————————————————————————

Input and output functions

geocode_OSMGet a location from an address description
read_GPXRead a GPX file
read_osmRead Open Street Map data
rev_geocode_OSMGet an address description from a location
——————————————————————————————————————————

Author

Maintainer: Martijn Tennekes mtennekes@gmail.com