Module importer::utils[][src]

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.

osmconvert

Uses osmconvert to clip the input .osm (or .pbf) against a polygon and produce some output. Skips if the output exists.

raw_to_map

Converts a RawMap to a Map.