BBBikeReader¶
-
class
pydriosm.reader.BBBikeReader(max_tmpfile_size=5000, data_dir=None)¶ Read BBBike data extracts.
- Parameters
max_tmpfile_size (int or None) – defaults to
5000, see alsogdal_configurations()data_dir (str or None) – (a path or a name of) a directory where a data file is; if
None(default), a folderosm_bbbikeunder the current working directory
- Variables
Downloader (BBBikeDownloader) – instance of the class
BBBikeDownloaderName (str) – name of the data resource
URL (str) – URL of the homepage to the BBBike free download server
Example:
>>> from pydriosm.reader import BBBikeReader >>> bbbike_reader = BBBikeReader() >>> print(bbbike_reader.Name) BBBike OpenStreetMap data extracts
Methods
get_path_to_osm_file(subregion_name, …[, …])Get the path to an OSM data file (if available) of a specific file format for a geographic region.
read_csv_xz(subregion_name[, data_dir, …])Read a compressed CSV (.csv.xz) data file of a geographic region.
read_geojson_xz(subregion_name[, data_dir, …])Read a .geojson.xz data file of a geographic region.
read_osm_pbf(subregion_name[, data_dir, …])Read a PBF data file of a geographic region.
read_shp_zip(subregion_name[, layer_names, …])Read a shapefile of a geographic region.
Attributes