At long last, a new generation of maps!

It has taken us a while to get here, but we are happy to share our latest cropland maps, which you can view on our webmap and download from the Registry of Open Data on AWS!

Zambia’s field boundaries in 2024 (Xiong et al, 2026).

Since our last post we have been working hard on improving our mapping process—from model development to post-processing, quality control, and data delivery—to produce field boundary maps that are of substantially higher quality than our version 1 release for Ghana (see Estes et al, 2022 for the earlier methods). These efforts occurred across a number of different research projects for which field boundary mapping was either the primary focus or provided an essential input for answering key research questions, including those funded by Omidyar Network Property Rights Initiative (now PLACE), NSF, NASA, the Enabling Crop Analytics at Scale project, Lacuna Fund, and Taylor Geospatial, alongside collaborators at several different institutions, including UCSB [1, 2], Farmerline, Spatial Collective, Zambia Agricultural Research Institute, among others.

Our new maps result from a series of improvements to a U-Net-based mapping approach that we started working on in 2020, with the goal of developing the ability to generate consistent, annually updated field boundary maps. This goal faced a number of obstacles. The first was a relatively small model training sample (<7000 labelled images) collected over only a few countries (mostly Ghana, with some from Zambia, Republic of Congo, and Tanzania) and from only one or two years (mostly 2018 or 2021). This meant that our training lacked both geographic and temporal diversity, which resulted in models that did not generalize well, i.e. their ability to make reliable maps when applied to a different year or country was limited. To help overcome this challenge, we implemented techniques that helped our model generalize better between years (see Khallaghi et al (2025)). We used this model, along with extensive post-processing to remove false positives, to map the Republic of Congo for the year 2022. 

Another step we took was to collect more training data. Working with Farmerline and Spatial Collective with support from the Lacuna Fund, we used (what were at the time, but are sadly no longer) freely available Planet NICFI basemap imagery captured across 34 countries and from 7 different years, resulting in a much larger training sample (>32,000; see here for more details). We combined these new samples with our existing set and retrained our model, which we have since used to map and analyze agricultural change in Zambia (see Xiong et al, 2026). The maps used in that analysis are the first ones you will see when loading our webmap.  

A close-up of 2024 field boundaries mapped near Kapiri Mposhi, Zambia, showing a mix of small, medium, and large fields (Xiong et al, 2026).

We have also added, and are continuing to add, maps for other countries (for Angola, Nigeria, and Ghana, along with several others that are currently in production). These were generated using a newer U-Net variant, called the Practical Recipe for Field Boundary Segmentation at Scale (PRUE; Muhenawayo et al, 2026). PRUE was developed by the Fields of the World project, with whom we have been collaborating, and has been used together with Sentinel-2 imagery to develop the first global field boundary map (Robinson et al, 2026). For the Mapping Africa project, we adapted PRUE and trained it with our Africa-wide set of Planet-based labels (see code here), and have integrated it into our production pipeline. Our adapted PRUE variant commits fewer false positives and more effectively separates adjacent fields than our earlier VGG-based model.  

Appropriate Usage 

With these updates, which are ongoing, interested users can explore agricultural landscapes in several African countries between 2018 and 2024 directly in the browser, without downloading large datasets. Alternatively, the maps can be obtained directly from the AWS Open Data Registry, in either PMTile or Geoparquet formats. Usage is governed under the terms of the Planet NICFI license.  

Users should also be aware of these maps’ limitations. While these data represent a substantial improvement from previous maps, they are released “as-is” and contain a number of errors, including: 

1. False detections, particularly for the newer maps, which did not undergo the same post-production cleaning that we applied to our maps of Zambia;

Falsely predicted fields (red arrows) in the 2023 map over Kizigo Game Reserve in Tanzania.

2. Under-segmentation, where adjacent fields are grouped together, particularly in dense agricultural landscapes;

Red arrows indicating several examples of severe under-segmentation in the 2024 maps of Ghana (near Tamale), where multiple fields were grouped together because of the model’s failure to identify the borders separating adjacent fields, resulting in large, overly complex shapes.

3. Inconsistent mapping, where fields are missed, falsely predicted, or subject to varying degrees of over- or under-segmentation for the same location in different years.

A three-year sequence (2020-2022) of field boundaries near Chicala, Angola, shown (within QGIS) in relation to the Planet imagery used to generate the maps. The annual images are initially shown in sequence without mapped fields, to show the substantial year-to-year variation in the appearance of fields within imagery, and again before each year’s maps are overlaid. Red arrows show examples of false positive predictions (2-3 per year), while orange arrows indicate under-segmented fields (2 per year).
 

These errors, which include others not illustrated, such as missed fields (false negatives), and some minor spatial offsets (~15 m) in newer, non-Zambia maps that we are correcting (related to dimensions of image tiles used to make predictions), can vary by country and year. Map users should therefore undertake their own accuracy assessments that are relevant to their area and application of interest. It should also be noted that errors are best understood when evaluated against the Planet imagery the model was applied to (which we cannot make available here), or against very high resolution (<2 m) imagery collected from the same time periods; the imagery underlying our webmap is in most cases not from the same date or month, and cannot fully convey how well the maps align with the croplands that are present, as the landscape visible to the model can be quite different than the one shown in the basemap imagery.

To better understand the nature of map errors, how they can be detected, and in some cases, corrected, please refer to our recent paper (Xiong et al, 2026). The methods include details on how to use polygon shape metrics, which are provided with the publicly released geoparquets, to detect under-segmented fields and bias-correct their areas.   

In addition to continuing to expand maps to other countries, we are developing methods to improve map quality. Progress on these will be the focus of future posts.  

Citation  

If you use these maps in a publication, report, or other research product, please follow our citation guidelines. 

Resources 

Interactive Mapping Africa web map: https://agroimpacts.github.io/mapping-africa/ 

FTW Mapping Africa integration repository: https://github.com/agroimpacts/ftw-mappingafrica-integration 

Model weights: https://huggingface.co/airg/unet-efficientnet-b7-ltfl-mmgab-100ep-1window-ma 

 

Project Updates: Version 1 Field Boundary Maps of Ghana; Version 2 forthcoming

Back in 2020 we completed our Version 1 map of Ghana’s croplands for the year 2018 (see figure below), which is a proof of concept for the ability to create high resolution, annually updateable map of crop field boundaries over smallholder-dominated cropland sat a national scale. The methods include a novel procedure for converting daily, high resolution PlanetScope imagery into cloud-free seasonal composites, and a rigorous approach to training and validating a machine learning model, which are described in our working paper (which is nearly through the peer review process) along with the results. The field boundary maps can be viewed on our web map, which is undergoing a redesign that will be completed in a few weeks, as we transition data to a STAC-compliant server(developed by Azavea). The map data can be downloaded here (please read the paper before using to understand the accuracy of the dataset).

image

Since completing those Version 1 results, we have been working to improve the accuracy and precision of the field boundaries, so that we can release a more accurate Version 2 map. We have replaced the Random Forests model we used to identify cropland in the Version 1 map with a more accurate convolutional neural network, U-Net. We train this more powerful model not just to classify pixels into cropland and non-cropland classes, but also to distinguish between the edges and interiors of fields. This approach allows us to develop maps that delineate individual fields much more precisely, for about a tenth of the computational cost. The figure below shows the score maps(probabilities) for the field interior class resulting from a single model trained using 4,100 training labels collected across the entire country. Compared to the Version 1 maps, you can see that the individual fields are more clearly separated, and that the predictions are more confident.

image

This enables individual field boundaries to be more precisely mapped, as seen in the next figure, which compares Version 1 (middle row) and Version 2 (bottom row) field boundaries.

image

We are now refining the U-Net model, to improve its accuracy. Once that is completed (in the coming weeks), we will release our Version 2 field boundaries, which should be used in place of Version 1.

For more details about the evolution of our mapping approach, you can view our presentation at the Planet Explore 2021 conference this week, in the session on Global Agriculture: From Smallholder to Commercial Scale.

Mapping Progress Update

As of November 30, we have completed a full active learning process for each of the 16 mapping areas of interest covering Ghana. The map indicates the location of training labels within each AOI, color-coded according to which iteration they were selected in, as well as validation sites.

100 labels were collected for each iteration in each AOI. We are now using the final models to create the full cropland probability maps for each AOI and running the final segmentation. Stay tuned for a look at the full maps!

Mapping Africa: Crowdsourced Machine Learning

Africa, like most of the developing world, has a data problem. A shortage of available data ties the hands of researchers looking to perform the kind of high-quality studies that are needed to help devise useful policy. Remote sensing should provide a means to equalize some of the data disparity between the global North and South (after all, satellite trajectories don’t discriminate), but it takes more than a cache of imagery to fix the problem. These data require some fairly intense processing to become usable information, and that processing often doesn’t come cheap. This can be a problem for groups working in cash-strapped Africa.

Azavea believes that there is an opportunity for open source tools to make a difference in supporting this type of work. We were given a chance to test this idea when our VP of Research, Rob Emanuele, made the acquaintance of the principal investigator with the Agricultural Impacts Research Group at Clark University, Lyndon Estes. Lyndon was looking to expand upon a proof-of-concept project to detect smallholder agricultural fields (small farms usually supporting a single family) from WorldView-2 imagery.

Despite the promising early results of this research, scaling up to much larger inputs revealed the seams in their codebase. This is where Azavea comes in. With a generous grant from the Omidyar Network, Lyndon and his team were able to harness Azavea’s experience with big data raster processing and its open source tools like GeoTrellis to substantially clean up their prototype and get it ready for production.

The active learning mapping application

The system that our new collaborators had in mind consisted of a few components. While we would ultimately focus on data munging and machine learning over those data, the models would need an authoritative source of training data to work properly. This would be the primary focus of the group at Clark. This manifested in their work on a novel crowdsourcing platform for annotating satellite imagery with regions thought to be agricultural fields. A group of mappers, hired by SpatialCollective in Kenya, would label the agricultural fields in satellite imagery and, using Bayesian averaging, the mapping application would coalesce a set of mappers’ inputs (scored using a rigorous accuracy assessment protocol) to derive a high-quality training set for the machine learning process. This—spoiler alert—improved the accuracy of the final fitted models.

The other central methodological approach was to use an “active learning” process to refine the training set. Human mappers received unmapped areas that the machine learning model was the least certain about. These areas were then labeled and added to the training set.

Azavea was able to help the efforts on the mapping application by both creating a cloud free mosaic of Planet Labs’ PlanetScope data, and by using Raster Foundry to catalogue and serve out the images in true color and false color NDVI to the mapping application.

Agricultural mapping platform

A workflow based on Cloud Optimized GeoTIFFs

For us, the task list was simple:

  1. Create a cloud-free feature source from the PlanetScope imagery
  2. Train and apply a machine learning model
  3. Deliver the final classifications as imagery suitable for visualization

But this project ended up requiring us to reevaluate some of our core tools and establish a new approach to analysis. As the entire GIS community becomes more focused on applications that rely on cloud-native geospatial, there has been a push to adopt Cloud-Optimized GeoTIFFs, or COGs, as an imagery source. Rather than building specialized catalogs of image tiles—requiring an ETL process and, sometimes, custom file formats—we want to point to a COG (or a collection of COGs) and be able to query those files directly with minimal fuss. This improves portability and ease of use, without substantially affecting performance.

Azavea has been part of the push towards cloud-native geospatial and COG-oriented workflows. But it was only with the release of GeoTrellis 2.0 in August 2018 that COG become a core building block of the library. This project provided a helpful challenge to help shape and test the requisite tooling.

A cloud-free mosaic

The classification algorithm had simple demands: two base maps of satellite imagery with one covering the growing season (December–April) and one covering the off season (July–November). The master grid—specifying the size, extent, and resolution of the tiles—was defined, and each cell would need to have associated with it a pair of PlanetScope images, one for each season, but these data were still safely stowed on Planet’s servers. We wrote an application to mine Planet’s catalog for imagery that intersected an area of interest and associated with each tile the newest image for each season that covered the tile and passed a cloud-free test furnished by our friends at Clark. The end result was a minimal catalog of COGs that we could use as input to the classifier.

Finding fields with random forests

The consumer for this imagery is a random forest classifier following the prototype provided by our collaborators. But in order to build a system that scaled well and was easy to maintain, we wanted to shift over to a system that naturally bridged between the machine learning apparatus provided by SparkML and the raster-processing infrastructure of Geotrellis. Our comrades-in-arms at Astraea, fortunately, have this handled. We used their RasterFrames project to give us native access to Geotrellis tiles in a Spark DataFrame and also to help convert the pixel data into a form usable by SparkML. This would end up being less straightforward than it sounds, due to the COG-based catalog.

We settled on using rasterio to perform a resampling windowed read of the COGs and GeoPySpark to manage the conversion to a RasterFrame and from a RasterFrame to a COG catalog on the output side. The model required us to extend RasterFrames as well, incorporating a prototype implementation of focal operations into the library—an implementation that we’ll be working to move into the upstream version over the coming year. The bulk of the application itself was straightforward to write, and performed as expected, despite the number of custom solutions needed to work around the technical requirements for the project. This will serve as a solid foundation for the project that can grow and improve as Lyndon and his team push the work forward. (It also provides a template for improvements to Geotrellis and RasterFrames to make this kind of workflow more natural. Stay tuned!)

Results

We concluded our part of this project in the Fall of 2018, and the Clark crew have been at work with their team of mappers in Africa supplying training data and refining their model. The results are coming in, and it seems promising, as can be seen by the following images:

Machine learning model identifying growing fields in Africa (north)
Identifying fields in Northern Ghana (Growing season, off growing season, pixel-based predictions)
Machine learning model identifying growing fields in Africa (south)
Identifying fields in Southern Ghana (Growing season, off growing season, pixel-based predictions)

In the future, the source for much of this work will be released to the public under the agroimpacts GH repo. Naturally, there are still problems to solve, but the project is now on a solid footing to start contributing real data to the study of agriculture in Africa.

Special thanks

This was a great opportunity to work with a talented team of researchers. We are glad the relationship was mutually beneficial. Says, Lyndon; “We are very excited to continue refining and applying our platform, which we intend to use to produce high accuracy, high resolution cropland maps for all of Ghana by the end of this year. We feel confident that we can achieve this goal, now that we have the highly scalable and robust machine learning pipeline developed by Azavea. Their effort in developing this went far above and beyond what we all initially imagined would be the scope of effort, and is thus a really critical contribution to our project’s success.”

We’d like to make a special thanks to the team of researchers and project collaborators that contributed to the project, including: Lei Song, Su Ye, Sitian Xiong, and Ron Eastman (Clark University); Dennis McRitchie; Ryan Avery and Kelly Caylor (UC Santa Barbara), SpatialCollective; Meridia. The project began at Princeton, where Lyndon worked with Stephanie Debats, at the time a PhD student in Civil & Environmental Engineering, and her supervisor, Professor Kelly Caylor (now at UC Santa Barbara).

The crowdsourcing movement to improve African maps

In map after map after map, many African countries appear as a void, marked with a color that signifies not a percentage or a policy but merely offers an explanation: “no data available.”

Where numbers or cartography has left African countries behind, developers are stepping in with open-source tools that allow anyone from academics to your everyday smartphone user to improve maps of the continent.

One such project is Missing Maps, which invites people to use satellite imagery on mapping platform OpenStreetMap to fill out roads, buildings and other features in various parts of Africa that lack these markers. Active projects on åMissing Maps include everything from mapping houses in Malawi to marking roads in the Democratic Republic of Congo.

Missing Maps co-founder Ivan Gayton said humanitarian organizations could use the refined maps for development projects or to respond to future disasters or disease outbreaks.

“My intention was to get people like Doctors Without Borders and the Red Cross to rectify another injustice which is, that very basic public health infrastructure, which is a map, is not available in most of Africa,” Gayton told Quartz.

In July, Missing Maps launched MapSwipe, a smartphone app that helps whittle down the areas needed for mapping on OpenStreetMap by giving anyone with an iPhone or Android phone the ability to swipe through satellite images and indicate if they contain features like houses, roads or paths. These are then forwarded onto Missing Maps for precise marking of these features.

“Having a mobile application means having an order of magnitude more of people that are able to do it, larger volunteers, and it seems like they go faster,” Gayton said.

Missing Maps’s approach is similar to that of Mapping Africa, a project developed at Princeton University that pays users to look at satellite images and identify croplands.

“Humans are very good at recognizing patterns in noisy images,” Princeton research scientist Lyndon Estes said of Mapping Africa, which he started.

People who sign up on Amazon’s Mechanical Turk service are given satellite images of random patches of land across Africa and asked to determine if the land is being used for farming.

That data can be used to figure out how farmers are coping with the climate around them and with droughts, Estes said.

He and his collaborators have thus far used the imagery for their own agriculture-related studies in Zambia and Kenya, but Estes said it could be used for other purposes, such as determining ownership of disputed land.

“If you can establish that agriculture is being done in an area already, that provides a valuable source of information for establishing tenure rights or giving people information that they might not be able to get,” Estes said. “The ultimate ambition is to get large areas, if not all of sub-Saharan Africa mapped.”

Missing Map’s work is available to all on OpenStreetMap. Estes said he’s considering uses for Mapping Africa’s data beyond his own studies.

One outlet for Mapping Africa’s data could be AfricaMap, a Harvard University project where users can compile data on everything from ethnic groups to mother tongues to slave trade routes and layer it over a map of the continent.

“The basic idea is you can go in there, create a map and any of the 20,000 layers in the system, all of them would be available to load into your own map,” said project manager Ben Lewis.

Lewis helped put together AfricaMap at the request of Harvard professors who were looking for a way to get old geographic data of Africa online. The project was so successful it expanded into WorldMap for the entire globe.

Africa Map’s 20,000 users have put the service to work mapping hospitals and clinics in Ghana, or creating a layer that shows types of indigenous music across the continent.

Lewis plans to soon launch a program that will collate different mapping data layers from across the Internet, expanding the amount of layers on WorldMap into the hundreds of thousands, he said.

“The core reason, in my mind, to start with Africa was to, first of all, make the case that there is data,” Lewis said. “A lot of times, it’s just [that] people don’t know about it.”