iduedu.download_geofabrik_region¶
- iduedu.download_geofabrik_region(region, *, out_dir=None, update=False)[source]¶
Download the Geofabrik extract
region(an id fromgeofabrik_regions()).- Parameters:
region (
str) – Geofabrik region id, e.g."northwestern-fed-district".out_dir (
str|PathLike|None) – Cache directory; defaults to<config.overpass_cache_dir>/geofabrik.update (
bool) – Re-download when Geofabrik has a newer file (compared by md5). Without it an existing file is reused as is, which keeps results reproducible.
- Return type:
- Returns:
Path of the
<region>-latest.osm.pbffile.