Skip to contents

Data retrieval and map preprocessing

Functions for obtaining and preparing OpenStreetMap data for urban environments.

get_osmdata()
Retrieve OpenStreetMap Data
preprocess_map()
Preprocess OSM Data
crop()
Crop a preprocessed map

Plotting and customization

Functions to plot maps with custom themes and save the output.

plot_map()
Plot a map with custom palette
save_map()
Save a map to a file
get_palette()
Create a palette for maps

Configuration and settings

Functions to configure the cartography package settings and output.

print_config()
Print configuration details
set_attribution()
Set or get attribution setting
set_output_size()
Set output size for maps

Theming and aesthetics

Functions to apply custom themes and fonts to enhance the visual appeal of maps.

Datasets

Included datasets for demonstration and testing purposes.

crime
Manhattan crime dataset
osm
OSM SoHo New York simple features
soho_boundary
SoHo Boundary Simple Features Vector