BBBikeDownloader

class pydriosm.downloader.BBBikeDownloader[source]

A class for downloading OSM data from BBBike’s free download server.

Example:

>>> from pydriosm.downloader import BBBikeDownloader

>>> bbbike_downloader = BBBikeDownloader()

>>> print(bbbike_downloader.Name)
BBBike OpenStreetMap data extracts

Methods

download_osm_data(subregion_names, …[, …])

Download OSM data (in a specific file format) of one (or multiple) geographic region(s).

download_subregion_data(subregion_name[, …])

Download OSM data of all available formats for a geographic region.

get_coordinates_of_cities([update, …])

Get location information of cities (geographic regions).

get_download_index([update, …])

Get a dict-type index of available formats, data types and a download catalogue.

get_list_of_cities([update, …])

Get a list of names of cities.

get_list_of_subregion_names([update, …])

Get a list of names of all geographic regions.

get_osm_file_formats()

Get a list of valid OSM data file formats.

get_subregion_catalogue([update, …])

Get a catalogue for geographic regions.

get_subregion_download_catalogue(subregion_name)

Get a download catalogue of OSM data available for a geographic region.

get_subregion_download_url(subregion_name, …)

Get a valid URL for downloading OSM data of a specific file format for a geographic region.

get_valid_download_info(subregion_name, …)

Get information of downloading (or downloaded) data file.

validate_input_file_format(osm_file_format)

Validate an input file format of OSM data.

validate_input_subregion_name(subregion_name)

Validate an input name of a geographic region.