osm_flex

init file

Submodules

Package Contents

Functions

enable_logs([level])

Overwrite default and set basic logging config

setup_osm_dirs()

This function is called when osm-flex is imported.

Attributes

OSM_DIR

OSM_DATA_DIR

POLY_DIR

EXTRACT_DIR

osm_flex.OSM_DIR[source]
osm_flex.OSM_DATA_DIR[source]
osm_flex.POLY_DIR[source]
osm_flex.EXTRACT_DIR[source]
osm_flex.enable_logs(level=logging.INFO, **kwargs)[source]

Overwrite default and set basic logging config

osm_flex.setup_osm_dirs()[source]

This function is called when osm-flex is imported. It creates an osm directory by default in the home directory, with three sub-folders osm_bpf, poly and extract, for raw data dumps, .poly files, and extraction results, respectively. Other locations can be configured in the osm-flex.config file.

Parameters