osm¶
The central module containing all code dealing with importing OSM data.
This module either directly contains the code dealing with importing OSM data, or it re-exports everything needed to handle it. Please refrain from importing code from any modules below this one, because it might lead to unwanted behaviour.
If you have to import code from a module below this one because the code isn’t exported from this module, please file a bug, so we can fix this.
-
class
OpenStreetMap
(dependencies)[source]¶ Bases:
egon.data.datasets.Dataset
Downloads OpenStreetMap data from Geofabrik and writes it to database.
- Dependencies
- Resulting Tables
- openstreetmap.osm_line is created and filled (table has no associated python class)
- openstreetmap.osm_nodes is created and filled (table has no associated python class)
- openstreetmap.osm_point is created and filled (table has no associated python class)
- openstreetmap.osm_polygon is created and filled (table has no associated python class)
- openstreetmap.osm_rels is created and filled (table has no associated python class)
- openstreetmap.osm_roads is created and filled (table has no associated python class)
- openstreetmap.osm_ways is created and filled (table has no associated python class)
See documentation section OpenStreetMap for more information.
-
name
= 'OpenStreetMap'¶
-
version
= '0.0.4'¶