make_data_items¶
- pydriosm.ios.utils.make_data_items(osm_data, schema_names)[source]¶
Map OSM data layers to specific schema names.
- Parameters:
osm_data (dict) – Dictionary of OSM data where keys are layer names.
schema_names (list | dict | None) – List of layers, dict mapping schema to layer, or
None.
- Returns:
An iterable of (schema_name, data) tuples.
- Return type:
zip
- Raises:
KeyError – If a requested layer name is missing from
osm_data.