BBBikeDownloader.get_valid_file_formats

BBBikeDownloader.get_valid_file_formats()

Get a list of valid OSM data file formats.

Returns

a list of valid BBBike OSM file formats on BBBike free download server

Return type

list

Example:

>>> from pydriosm.downloader import BBBikeDownloader

>>> bbbike_downloader = BBBikeDownloader()

>>> file_formats = bbbike_downloader.get_valid_file_formats()

>>> for file_format in file_formats:
...     print(file_format)
.pbf
.gz
.shp.zip
.garmin-onroad-latin1.zip
.garmin-onroad.zip
.garmin-opentopo.zip
.garmin-osm.zip
.geojson.xz
.svg-osm.zip
.mapsforge-osm.zip
.navit.zip
.csv.xz