GeofabrikIOS
- class pydriosm.ios.GeofabrikIOS(**kwargs)[source]
Implement storage I/O of Geofabrik OpenStreetMap data extracts with PostgreSQL.
- Parameters:
kwargs – [optional] parameters of the class
PostgresOSM
- Variables:
postgres (PostgresOSM) – instance of the class
PostgresOSM
downloader (GeofabrikDownloader) – instance of the class
GeofabrikDownloader
reader (GeofabrikReader) – instance of the class
GeofabrikReader
Examples:
>>> from pydriosm.ios import GeofabrikIOS >>> gfi = GeofabrikIOS(database_name='osmdb_test') Password (postgres@localhost:5432): *** Creating a database: "osmdb_test" ... Done. Connecting postgres:***@localhost:5432/osmdb_test ... Successfully. >>> type(gfi.dbms) pydriosm.ios.PostgresOSM >>> gfi.dbms.name 'Geofabrik OpenStreetMap data extracts'
See also
Examples for all the methods of the class
PostgresOSM
.