When does the maize belt turn green?
Every summer, a band of cropland across the Free State, North West, Mpumalanga and southern Gauteng turns from brown to green and back again. Lenders, crop insurers and grain traders watch that change closely, because a crop that greens up late, or not at all, is the first sign that something needs a closer look.
Day 29 of the 30 Day Map Challenge is Raster. Most of my maps this month have turned pixels into something else: points, hexagons, grid cells or district totals. This time I wanted to keep the pixels. The question: when does cropland green up and peak across South Africa's maize belt in the 2025/26 season, and how do the districts compare?
Explore the interactive report
- Date buttons: 18 ten-day periods (dekads) from 1 November 2025 to 21 April 2026, in two rows above the map. Pick one, and the map loads that dekad's satellite image of cropland greenness. The report opens on 1 February, when the east and west of the belt look most different.
- The map: about 70,000 km² of cropland at 300 m resolution, coloured from brown (low greenness) to dark green (high greenness). Zoom in and every pixel is still there.
- Click a district on the map, or a bar in the bar chart, to switch the KPIs and the season chart to that district's cropland.
- Two KPIs: median greenness on the map date, coloured on the map's scale, and the date of peak greenness for the selected area.
- The season chart shows the whole 2025/26 curve, with an orange dot on the date you're looking at.
- The bar chart ranks the 12 main maize-belt districts on the map date, with each bar coloured like the pixels.
Interactive report: Day 29, Raster
What it doesn't show: maize specifically, yield, or individual fields. It shows how green cropland is, at regional scale, every ten days.
Starting with Sentinel-3 NDVI
The greenness data is the Copernicus Land Monitoring Service NDVI 300 m, version 3. It's a ten-day composite from the OLCI sensor on the Sentinel-3 satellites, free to use commercially with attribution. NDVI (the Normalised Difference Vegetation Index) compares red and near-infrared light: bare soil scores low, and a dense, healthy canopy scores high.
I downloaded it from the Copernicus Browser, cropped to a box from 24 to 31 °E and 24 to 30 °S:
- every dekad of the 2025/26 season, 18 files; each image is 2,500 × 2,406 pixels.
One surprise: the Browser's "Raw" layer isn't NDVI. It's the product's original byte values (0–250) stored as floats, which need converting with NDVI = value × 0.004 − 0.08. Value 255 means no data.
I also checked the quality flags on every date. Most dates are 92–100% clear over cropland. Rebuilding the comparison from clear observations only moved it by a median of 0.000, so I kept every observation.
Masking to cropland
NDVI greens up for grassland as well as crops, so I needed a cropland mask. ESA WorldCover 2021 maps land cover at 10 m. For each 300 m NDVI pixel, I counted the 10 m WorldCover cropland pixels inside it, and kept only NDVI pixels that are at least 50% cropland. I then clipped them to South Africa with the geoBoundaries outline, which removes Lesotho, Eswatini and Botswana.
That leaves about 70,000 km² of mapped cropland. It's cropland, not maize specifically: WorldCover doesn't tell crops apart.
From satellite images to Cloud Optimized GeoTIFFs
A raster layer on a web map needs tiles, and a Cloud Optimized GeoTIFF (COG) is the simplest way to provide them: one file per image, tiled internally, with lower-resolution overviews inside it. The map asks for only the bytes it needs for the current view, using ordinary HTTP range requests, so there's no tile server.
I wrote the whole pipeline in plain Python with numpy and shapely, with no GDAL:
- A small TIFF reader opens the Copernicus files.
- The NDVI values are coloured on a seven-colour ramp from brown (0.05) through yellow to dark green (0.95). Pixels outside the cropland mask are transparent.
- A COG writer reprojects each image to Web Mercator and writes it as 256-pixel tiles with four overviews.
The result is 18 RGBA COGs: the 18 season images which I used for this report.
A simple optimisation saved 110 MB
My first COGs were 175 MB in total. Transparent pixels still carried their original colour values underneath, and those compressed badly. Setting the red, green and blue values of every masked pixel to zero cut the set to 65 MB: about 3.3 MB per date, with the same image on screen.
Hosting on Azure Blob Storage
The COGs live in an Azure Blob Storage container with public read access. Two things matter: the server must support HTTP range requests, and it must allow cross-origin (CORS) requests from the browser. Azure handles both. I checked both with a quick request before building anything in Power BI.
Streaming a raster into Icon Map Pro
Icon Map Pro has a Raster reference layer that reads COGs directly, and its URL can come from a DAX measure. That's the core of the report.
A disconnected table holds the 18 dates and feeds the date buttons. A [Map date] measure returns the selected date, defaulting to 1 February. A [COG URL] measure turns it into a file name such as ndvi_2026-02-01.tif and adds the container address. Bind that measure to the raster layer, and every click on a date loads a new image. There's only one raster layer: the measure swaps its URL.
Districts as the interactive layer
A raster on its own can't be clicked, so I added district outlines as a WKT layer: OpenStreetMap district and metro boundaries, reused from Day 11. A Python script then summarises the pixels in every district on every date: the median NDVI of the cropland pixels inside its outline.
Which districts to draw. My first map drew all 30 districts with any mapped cropland, from Limpopo to the Karoo, and the map fitted itself to all of them. Now the map draws only the 24 districts with at least 60% of their area inside the image, a display rule that doesn't change any statistic. The camera is fixed on the raster rather than fitted to the outlines.
One catch: Icon Map Pro stores a zoom level, not an area. A smaller window shows less of the map, so I chose the zoom by looking at the page in Desktop rather than by calculation.
One colour scale for everything
This report went through multiple iterations - the final version has one map, one season and one colour scale, used everywhere:
- The raster uses the brown-to-green ramp, fixed from 0.05 to 0.95 on every date, so November and February can be compared at a glance.
- The bars take their colour from an
[NDVI colour]measure that does the same interpolation in DAX and returns a hex colour. Even without reading the numbers, you can see which districts are greenest. - The first KPI uses the same ramp darkened by 40%. Pale values like 0.37 would otherwise disappear on white, and darkening keeps every value above a 3:1 contrast ratio.
- The legend is an SVG drawn by a DAX measure in an image visual under the map, labelled Low greenness and High greenness rather than "bare soil" and "dense crop". A value alone can't prove either.
- Fixed axes. The bar chart runs from 0 to 0.8 and the season chart from 0.2 to 0.8 on every date and for every district. Across all 30 districts the season runs from 0.21 to 0.75, so nothing is clipped, and November's short bars show the season's progress by themselves.
Adding the district bar chart actually simplified the report. It replaced the comparison views: instead of switching modes to see which areas were ahead or behind, you see it on every date.
What the map reveals
The season has a clear shape. Median greenness across all mapped cropland rises from 0.28 on 1 November to 0.61 on 1 February. It dips slightly to 0.59 on 11 February, stays at 0.60–0.61 until 11 March, and falls to 0.46 by 21 April.
The east and west don't peak together. The eastern Highveld greens up first: Gert Sibande and Nkangala reach 0.5 by 21 December and peak on 1 February, at 0.69 and 0.72. The western belt starts browner: Lejweleputswa and Dr Ruth Segomotsi Mompati are at 0.21 on 1 November. It catches up through January and peaks from 1 to 11 March. On 1 February, Nkangala ranks first and Lejweleputswa eighth. By 1 March, Nkangala has dropped to ninth and Lejweleputswa has risen to second.
Districts have very different seasons. Xhariep in the south-west stays between 0.30 and 0.50 all season, never close to the Highveld's peak. Not every district's cropland follows the classic maize curve.
For context, it was a good season. On 11 February, the median cropland pixel was 0.018 greener than its 2015–2025 average. The western districts were clearly ahead and the southern Highveld around the Vaal was mixed. Against the 2016 El Niño drought, 69% of cropland was greener, by a median of 0.12.
A caution: greenness is not yield. A late-planted field looks behind in February without being in trouble, and 300 m pixels mix fields, roads and field edges. This is a screening tool for deciding where to look more closely, not an estimate of the harvest.
What I learned from Day 29
- Keep the pixels. Most of this month aggregated rasters away. Streaming the image itself, and using districts only as a way to click and compare, kept the detail that makes a raster worth mapping.
- A COG and a measure make a date picker. One raster layer whose URL comes from DAX is enough for any number of dates, with no tile server.
- Transparent isn't empty. Masked pixels still carried colour values. Zeroing them cut the files by almost two-thirds.
- One colour scale is a story in itself. When the map, bars and KPI share a ramp, switching dates tells the story before anyone reads a number.
- Another chart can simplify a report. The bar chart replaced two map modes and made the comparison visible on every date.
Final thoughts
Raster turned out to be about time as much as space. Any regularly updated image can be treated the same way: night lights, flood extents, snow cover or construction progress. Turn each date into a COG, put them in blob storage, and let a DAX measure choose the file. Icon Map Pro streams the pixels, and a native chart beside it carries the timeline.
Pick a date. Watch the maize belt turn green, east first.
Sources and attribution
- Vegetation index: Copernicus Land Monitoring Service, Normalised Difference Vegetation Index 300 m, 10-daily, version 3 (Sentinel-3 OLCI), 1 November 2025 to 21 April 2026, and 11 February 2015–2026. © European Union, Copernicus Land Monitoring Service information. Free and open, including commercial use. https://land.copernicus.eu/en/products/vegetation/normalised-difference-vegetation-index-v3-0-300m. Downloaded from the Copernicus Browser, November 2026.
- Cropland mask: ESA WorldCover 10 m 2021 v200. Zanaga, D. et al. (2022). doi:10.5281/zenodo.7254221. CC BY 4.0. https://esa-worldcover.org/
- District and metro boundaries: © OpenStreetMap contributors, ODbL (admin level 6, with Municipal Demarcation Board codes), prepared for Day 11. https://www.openstreetmap.org/copyright
- South Africa outline: geoBoundaries ZAF ADM0. Runfola, D. et al. (2020) geoBoundaries: A global database of political administrative boundaries. PLoS ONE 15(4): e0231866. Source: OCHA ROSEA and the Municipal Demarcation Board. CC BY 3.0 IGO.
Methodology note: NDVI is measured, not modelled: ten-day maximum-value composites from Sentinel-3 OLCI at 300 m, converted from digital numbers with NDVI = DN × 0.004 − 0.08. Only South African pixels that are at least 50% cropland in ESA WorldCover 2021 are mapped (about 70,000 km²); this is cropland in general, not maize specifically. The map uses one fixed colour ramp from 0.05 to 0.95 on every date. District and regional figures are medians of the mapped cropland pixels inside each outline, or across the whole study area. The bar chart shows the 12 districts in the Free State, North West, Mpumalanga and Gauteng with at least 1,000 km² of mapped cropland. The map draws the 24 districts with at least 60% of their area inside the image; that is a display rule and doesn't affect any statistic. Greenness on one date also reflects planting date, so it is a screening indicator, not a yield estimate.