GeofabrikDownloader.get_continents_subregion_tables¶
-
GeofabrikDownloader.
get_continents_subregion_tables
(update=False, confirmation_required=True, verbose=False)[source]¶ Get download information for continents.
- Parameters
update (bool) – whether to check on update and proceed to update the package data, defaults to
False
confirmation_required (bool) – whether to prompt a message for confirmation to proceed, defaults to
True
verbose (bool or int) – whether to print relevant information in console, defaults to
False
- Returns
subregion information for each continent
- Return type
dict or None
Example:
>>> from pydriosm.downloader import GeofabrikDownloader >>> geofabrik_downloader = GeofabrikDownloader() >>> subregion_tbls = geofabrik_downloader.get_continents_subregion_tables() >>> print(list(subregion_tbls.keys())) ['Africa', 'Antarctica', 'Asia', 'Australia and Oceania', 'Central America', 'Europe', 'North America', 'South America']