# Energy × Digital Nexus — Morocco
Two live tools at the energy × digital intersection in Morocco:
| Tool | URL | Code |
|---|---|---|
| **Infrastructure map** — generation, grid, industrial load, data centers | atlas-nexus-69o.pages.dev | `docs/` |
| **Atlas Solar** — residential PV production + ROI estimator | atlas-solar.pages.dev/ | `solar/` (docs) |
**The two are infrastructurally independent.** Separate Cloudflare Pages
projects, separate URLs, no shared CSS or JS — a broken deploy on one cannot
take the other down.
```bash
wrangler pages deploy docs --project-name=atlas-nexus # map
wrangler pages deploy solar --project-name=atlas-solar # solar
```
The only shared infrastructure is the `solar-pvgis` Cloudflare Worker, the
account, and DNS. The legacy `/solar/` path on the map's domain 301-redirects
to the solar project. GitHub Pages mirrors `docs/` (map) only. Both sites are
static and token-free; a custom domain attaches to either project without
redeploying.
Root-level `index.html`/`js/`/`data/` are an earlier standalone iteration
(AI Atlas) kept for reference — not published.
---
## Infrastructure map
Interactive multi-layer map of Morocco's electricity generation,
transmission grid, industrial load and data-center pipeline.
Structured to scale to MENA by dropping one GeoJSON folder and one
config entry per country.
## Layers (v1.0)
| # | Layer | Type | Source |
|---|---|---|---|
| 1 | Power generation | points | Global Energy Monitor · ONEE · MASEN |
| 2 | Transmission grid | lines (400 / 225 / 60 kV + HVDC planned) | OSM · ONEE |
| 3 | Industrial consumers | points | OCP · Holcim · SONASID · operator disclosures |
| 4 | Digital infrastructure | points | Datacentermap.com · OSM · DCD · press |
| 5 | Renewable potential | **deferred to v1.1** | Global Solar Atlas · Global Wind Atlas EU Commission PHOTOVOLTAIC GEOGRAPHICAL INFORMATION SYSTEM |
All source URLs are in DATA_SOURCES.md. Every
feature carries a `source` and `source_url` property …