BBBikeIOS¶
- class pydriosm.ios.BBBikeIOS(**kwargs)[source]¶
Implement storage I/O of BBBike exports of OpenStreetMap data with PostgreSQL.
- Parameters:
kwargs – [optional] parameters of the class
PostgresOSM- Variables:
downloader (BBBikeDownloader) – instance of the class
BBBikeDownloaderreader (BBBikeReader) – instance of the class
BBBikeReader
Examples:
>>> from pydriosm.ios import BBBikeIOS >>> bbi = BBBikeIOS(database_name='osmdb_test', verbose=True) Password (postgres@localhost:5432): *** Creating a database: "osmdb_test" ... Done. Connecting postgres:***@localhost:5432/osmdb_test ... Successfully. >>> type(bbi.downloader) pydriosm.downloader._wrapper.Downloader >>> type(bbi.reader) pydriosm.downloader._wrapper.Reader
See also
Examples for all the methods of the class
PostgresOSM.
Data source.