Interactive map of microscopists, imaging core facilities, and microscopes across Africa — African BioImaging Consortium
# Microscopy in Africa — Interactive Map
An interactive Leaflet map showing microscopists, imaging core facilities, and microscopes across Africa. Data is community-sourced via Google Form and curated through an automated Google Sheets pipeline, then published live to the map.
**Live map:**
timdewet.github.io
**Maintained by:** African BioImaging Consortium
**Add yourself:** Form link
---
## Architecture
```
Google Form (submission)
↓
Google Sheet (Form Responses tab)
↓
Apps Script pipeline (scripts/pipeline.gs)
↓
Google Sheet (Curated tab — QC review)
↓
Human review & approval
↓
Google Sheet (Published tab — auto-rebuilt)
↓
Published as CSV
↓
Map app (index.html / app.js) — reads CSV live
↓
Hosted on GitHub Pages
↓
Embedded in Wix site via iframe
```
**Fallback:** If the CSV is unreachable, the map falls back to `data/entries.json` (a snapshot).
---
## File Map
```
abic_website/
├── index.html # Map UI & structure (Leaflet, search, filters)
├── app.js # Map logic (data loading, search, markers, pan/zoom)
├── app.css # Styling (Nunito Sans, ABIC brand colors)
├── data/
│ ├── africa.geojson # Polygon data for 56 African countries (point-in-polygon)
│ ├── entries.json # Fallback snapshot of all published entries
│ └── curated.csv # (Optional) Initial data import template
├── scripts/
│ ├── pipeline.gs # Google Apps Script for form → sheet pipeline
│ ├── kml_to_data.py # Convert legacy KML data to entries.json format
│ └── refresh_snapshot.py # Refresh entries.json from the published CSV
├── docs/
│ ├── SPEC.md # Data schema, taxonomy, technical reference
│ ├── QC_GUIDE.md # Daily maintenance guide for data admins
│ └── WIX_EMBED.md # Instructions for embedding the map on Wix
└── README.md # This file
```
---
## Running Locally
To preview the map locally:
```bash
cd /path/to/abic_website
python3 -m http …