importer

Module utils

Source

Functions§

  • 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/).
  • If the output file doesn’t already exist, downloads the URL into that location. Clips .kml files and converts to a .bin.
  • Creates a RawMap from OSM and other input data.
  • 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.
  • Converts a RawMap to a Map.