PostgresOSM.Downloader¶
-
property
PostgresOSM.
Downloader
¶ An instance of either
GeofabrikDownloader
orBBBikeDownloader
, depending on the specifieddata_source
for creating an instance ofPostgresOSM
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