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:

Examples:

>>> from pydriosm.ios import GeofabrikIOS
>>> gfi = GeofabrikIOS(database_name='osmdb_test', verbose=True)
Password (postgres@localhost:5432): ***
Creating a database: "osmdb_test" ... Done.
Connecting postgres:***@localhost:5432/osmdb_test ... Successfully.
>>> type(gfi.downloader)
pydriosm.downloader._wrapper.Downloader
>>> type(gfi.reader)
pydriosm.reader._wrapper.Reader

See also

  • Examples for all the methods of the class PostgresOSM.

DATA_SOURCES

Data source.