Module utils

Source

Functions§

download
If the output file doesn’t already exist, downloads the URL into that location. Automatically uncompresses .zip and .gz files. Assumes a proper path is passed in (including data/).
download_kml
If the output file doesn’t already exist, downloads the URL into that location. Clips .kml files and converts to a .bin.
osm_to_raw
Creates a RawMap from OSM and other input data.
osmium
Uses osmium to clip the input .osm.xml or osm.pbf against a polygon and produce some output pbf file. Skips if the output exists.
raw_to_map
Converts a RawMap to a Map.