reader

Reading OSM data extracts.

Classes

GeofabrikReader([max_tmpfile_size])

A class representation of a tool for reading Geofabrik data extracts.

BBBikeReader([max_tmpfile_size])

A class representation of a tool for reading BBBike data extracts.

Functions

get_osm_pbf_layer_names(path_to_osm_pbf)

Get names of all layers in a PBF data file.

parse_osm_pbf_layer(pbf_layer_data, geo_typ, …)

Parse data of a layer of PBF data.

parse_osm_pbf(path_to_osm_pbf, …[, …])

Parse a PBF data file.

unzip_shp_zip(path_to_shp_zip[, …])

Unzip a .shp.zip file data.

read_shp_file(path_to_shp[, method])

Parse a shapefile.

get_default_shp_crs()

Get default CRS for saving shapefile format data.

parse_layer_shp(path_to_layer_shp[, …])

Parse a layer of OSM shapefile data.

merge_shps(paths_to_shp_files, …[, method])

Merge multiple shapefiles.

merge_layer_shps(paths_to_shp_zip_files, …)

Merge shapefiles over a layer for multiple geographic regions.

parse_csv_xz(path_to_csv_xz[, col_names])

Parse a compressed CSV (.csv.xz) data file.

parse_geojson_xz(path_to_geojson_xz[, fmt_geom])

Parse a compressed Osmium GeoJSON (.geojson.xz) data file.