# Mexico power grid geometry — OpenStreetMap (Geofabrik extract)

Community-mapped transmission/generation geometry for Mexico, extracted 2026-11-14 from the Geofabrik country extract.

## Files
- `mx_power_lines.geojson` — 10,544 transmission/distribution line features (LineString): 9,088 `power=line`, 1,379 `power=minor_line`, 77 `power=cable`. Properties: osm_id, power, name, voltage, operator, circuits, ref, wikidata (each present only when tagged).
- `mx_power_substations.geojson` — 3,119 substation features: 44 Points, 3,074 Polygons, 1 LineString (an unclosed way): `power=substation`. Properties: osm_id, power, name, operator, voltage, wikidata.
- `mx_power_plants.geojson` — 360 power plant features (Point or Polygon): `power=plant`. Properties: osm_id, power, name, operator, plant:source, wikidata.

Excluded: 48,409 `power=generator` features (overwhelmingly rooftop/small solar nodes; available on request). Relation-mapped substations/plants are not included (node and way features only).

## Voltage coverage on lines (tag count)
- 115 kV: 5,240 ways
- 230 kV: 1,823
- 400 kV: 777
- 138 kV: 310 | 85 kV: 272 | 69 kV: 235 | 13.8 kV: 81
- 1,546 ways have no voltage tag

## CRS / precision
WGS84 (EPSG:4326), coordinates rounded to 5 decimal places (~1 m).

## Source and license
- Source file: https://download.geofabrik.de/north-america/mexico-latest.osm.pbf (Last-Modified: Sat, 14 Nov 2026 01:43:44 GMT; 648,757,938 bytes)
- Data © OpenStreetMap contributors — https://www.openstreetmap.org/copyright — licensed under the Open Data Commons Open Database License (ODbL) 1.0 — https://opendatacommons.org/licenses/odbl/1-0/
- Freshness: Geofabrik rebuilds this extract daily.

### License status of THIS package (corrected 2026-11-14)
These filtered/rounded GeoJSON files are themselves an ODbL "Derivative Database", not mere extracts outside share-alike. ODbL 1.0 §1.0: a Derivative Database "includes any translation, adaptation, arrangement, modification, or any other alteration of the Database or of a Substantial part of the Contents ... Extracting or Re-utilising the whole or a Substantial part of the Contents in a new Database." §4.4(b): "Extraction or Re-utilisation of the whole or a Substantial part of the Contents into a new database is a Derivative Database and must comply with Section 4.4." The extraction is systematic and country-wide, far above the OSMF "insubstantial" boundary (<100 features / village scale — https://wiki.osmfoundation.org/wiki/Licence/Community_Guidelines/Substantial_-_Guideline). Filtering by tag and rounding coordinates are "alteration"; they do not avoid share-alike.

### Required treatment
1. Internal/unpublished preview: no obligations (§4.5(c): internal use within an organisation is not public use).
2. If the site publishes a MAP built from these files (a "Produced Work" — rendered raster/vector map images are Produced Works per the OSMF Produced Work guideline):
   - §4.3 notice on/near the map, e.g.: "Contains information from OpenStreetMap, which is made available here under the Open Database License (ODbL)." with "OpenStreetMap" linked to https://www.openstreetmap.org and "Open Database License (ODbL)" linked to https://opendatacommons.org/licenses/odbl/1-0/ (the §4.3(a) example notice). osm.org/copyright: browsable-map credit in a corner of the map, plus making clear the data is under ODbL (linking https://www.openstreetmap.org/copyright suffices).
   - §4.4(c): publishing the map counts as Public Use of this Derivative Database, so this package must be licensed ODbL 1.0.
   - §4.6: recipients must be offered, free of charge over the internet, a machine-readable copy of the entire Derivative Database (i.e., offer these GeoJSON files for download) OR an alteration file/method (§4.6(b): source extract + filter + rounding description). Offering the GeoJSON download satisfies both 4.6 and the osm.org/copyright rule to "name and link directly to the license" when distributing OSM in data form.
3. If the GeoJSON files themselves are publicly served (download/API): §4.2 — serve them only under ODbL 1.0 (or a §4.4-permitted license), include the license text or URI with the files and documentation, and keep attribution. §4.7: no DRM or added restrictions on the files.
4. Do NOT merge/join non-ODbL data (e.g., the CC-BY-4.0 CRE permit aggregates) INTO these files; §4.4(d) bars adding contents that are incompatible with ODbL rights. Keep layers as separate files/databases: a joint displayed map of separate layers is a Collective Database (§4.5(a)) — share-alike then applies only to the OSM part. The OSMF Regional Cuts guideline similarly confines share-alike to the Mexico cut when other regions use other sources.

### Attribution block for this package
"Mexico power grid extracts: Contains information from OpenStreetMap (https://www.openstreetmap.org), which is made available here under the Open Database License (ODbL) 1.0 (https://opendatacommons.org/licenses/odbl/1-0/). Source extract: Geofabrik mexico-latest.osm.pbf, 2026-11-14 (https://download.geofabrik.de/north-america/mexico-latest.osm.pbf). © OpenStreetMap contributors."

Note: the OSMF Trivial Transformations guideline (proposal-stage, not board-endorsed) treats format conversion/tag filtering/rounding as adding nothing that must be shared back, provided the original data is publicly available and users are told where to get it — it can satisfy the §4.6(b) "method of alterations" option, but it does not remove the §4.4 licensing duty for a publicly used Derivative Database.

## Limitations
- Community-mapped, not an official CFE/CENACE registry. Completeness and accuracy vary by region; geometry is contributor-surveyed or traced, not engineering-grade.
- Coverage is strongest on 115 kV and above; sub-69 kV and untagged lines are partial.
- This is observed physical-geometry evidence (poles/lines as mapped), not verified operational status.


Published file names: lines.geojson, substations.geojson, plants.geojson. Each includes the ODbL URI and source/attribution metadata. No other dataset has been joined into these files.
