Expand description
It’s assumed that the importer is run with the current directory as the project repository; aka
./data/
and ./importer/config
must exist.
Modules§
- berlin 🔒
- configuration 🔒
- map_
config 🔒 - pick_
geofabrik 🔒 - seattle 🔒
- soundcast 🔒
- uk 🔒
- utils 🔒
Structs§
- Importer
Configuration - Job
- A specification for importing all maps in a single city.
Functions§
- oneshot
- Transforms a .osm.xml or .pbf file to a map in one step.
- 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.
- pick_
geofabrik - Given the path to a GeoJSON boundary polygon, return the URL of the smallest Geofabrik osm.pbf file that completely covers the boundary, and the path to where the local copy should go.
- regenerate_
everything - Regenerate all maps and scenarios from scratch.