_Downloader.get_subregion_download_url
- classmethod _Downloader.get_subregion_download_url(subregion_name, osm_file_format)
Get a download URL of a geographic (sub)region.
- Parameters:
subregion_name (str or None) – name of a (sub)region available on a free download server
osm_file_format (str) – file format/extension of the OSM data available on the download server
- Returns:
validated subregion name and the corresponding download URL
- Return type:
tuple
See Examples for the methods
GeofabrikDownloader.get_subregion_download_url()
andBBBikeDownloader.get_subregion_download_url()
.