BBBikeDownloader.get_osm_file_formats

BBBikeDownloader.get_osm_file_formats()[source]

Get a list of valid OSM data file formats.

Returns

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

Return type

list

Example:

>>> from pydriosm.downloader import BBBikeDownloader

>>> bbbike_downloader = BBBikeDownloader()

>>> file_fmts = bbbike_downloader.get_osm_file_formats()

>>> for file_fmt in file_fmts:
...     print(file_fmt)
.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