OSM Power Plants¶
Two tools in one package:
- Collect and parse OpenStreetMap power-plant data into a clean, modelling-ready table.
- Triage the OSM dataset itself — every element that couldn't be resolved is emitted as a rejection report (CSV + GeoJSON) with a reason code and an OSM URL so contributors can fix the underlying tags.
Quick Start¶
from osm_powerplants import process_units, get_config, get_cache_dir
config = get_config()
df = process_units(
countries=["Chile", "Greece"],
config=config,
cache_dir=str(get_cache_dir(config)),
output_path="plants.csv",
rejected_output_path="plants_rejected.csv", # optional — see Quality Tracking
)
Output¶
| Column | Description |
|---|---|
projectID |
OSM-based identifier |
Name |
Plant name |
Country |
Country name |
lat, lon |
WGS84 coordinates |
Fueltype |
Solar, Wind, Hydro, Nuclear, Natural Gas, etc. |
Technology |
PV, Onshore, Run-Of-River, Steam Turbine, etc. |
Set |
PP, Store, CHP |
Capacity |
MW |
DateIn |
Commissioning year |
Where to go next¶
- Installation
- Quick Start
- Configuration
- Quality Tracking — the rejection-report half of the package
- Python API
- CLI Reference
License¶
MIT License. Data from OpenStreetMap contributors.