PostgresOSM.Downloader

property PostgresOSM.Downloader

An instance of either GeofabrikDownloader or BBBikeDownloader, depending on the specified data_source for creating an instance of PostgresOSM instance.

Example:

>>> from pydriosm.ios import PostgresOSM

>>> database_name = 'osmdb_test'

>>> osmdb_test = PostgresOSM(database_name=database_name)
Password (postgres@localhost:5432): ***
Connecting postgres:***@localhost:5432/osmdb_test ... Successfully.

>>> type(osmdb_test.Downloader)
pydriosm.downloader.GeofabrikDownloader