2.7 KiB
2.7 KiB
Sugar Cane Mills Locator
Interactive map showing sugar cane mill locations across East & Southern Africa.
Features
View Mode
- Interactive Map: Browse all sugar cane mills on a map
- Color by Country: Each country has a distinct color for easy identification
- Size by Production: Circle size represents annual sugar production
- Small circles: < 50k tons/year
- Medium circles: 50-150k tons/year
- Large circles: > 150k tons/year
- Detailed Popups: Click any mill to see full details:
- Company, crushing capacity, production volume
- Coordinates and year of data
- Notes about the facility
Draw & Add Mode
- Draw Points: Add new mill locations by clicking on the map
- Data Entry Form: Fill in details for each drawn point
- Edit Form Fields:
- Mill/Factory name (required)
- Country (required)
- Company
- Province/Region
- Crushing capacity & annual production
- Notes and data year
- Export & Send: Two options:
- Download CSV - Save locally and send manually (secure, no internet required)
- Email Directly - Opens your email client pre-filled with data (instant, transparent)
How to Use
Viewing Existing Mills
- Open the website
- Click on any mill marker to see detailed information
- Use the legend to filter by country mentally
- Zoom in/out to explore regions
Adding New Mills
- Click the "Draw & Add" button in the header
- Click the marker tool (in the map's drawing toolbar)
- Click on the map where you want to add a mill
- Fill in the popup form with mill details (minimum: name & country)
- Click "Save" to add more mills
- When done, click "Export as CSV" to export
- Choose your export option:
- Download CSV: Save to your computer, email manually (secure)
- Email Directly: Opens your email client pre-filled with data (instant)
- Timon receives and integrates the data
Updating Existing Data
- Currently, updates must be sent as exported CSV files
- Contact team lead to integrate changes into the main database
Data Format
The CSV file contains these columns:
Country,Mill/Factory,Company,Province/Region,Latitude,Longitude,Crushing Capacity (tons/year),Annual Sugar Production (tons),Notes,Data Year
When exporting new additions, the format is identical for easy merging.
Technical Details
- Map Library: Leaflet.js
- Drawing Tools: Leaflet-Draw
- Base Map: OpenStreetMap
- Data Source: CSV file (no backend required)
- Hosting: Can be deployed to Netlify or any static host
Files
index.html- Main webpageapp.js- Map logic and interactionssugar_cane_factories_africa.csv- Mill location data
Last Updated: December 2025