1. Home
  2. Insights
  3. How we built AI land classification for the Bavarian government

AI products

How we built AI land classification for the Bavarian government

Zahid Younis
Co-founder and CTO · · 5 min read

Working through our partnership with Cubeware GmbH, we built a prototype platform for the Bavarian government that classifies rural land and farmland from regularly updated satellite imagery. No off-the-shelf model could identify the land types needed, so we designed and trained custom computer vision models, using open geospatial datasets from the U.S. Geological Survey, with a target of more than 90% classification accuracy.

This post explains how the project worked and what other organisations can learn from it. You can read the summary on our Bavarian government case study page, and more about our AI product development work.

The problem

Government departments need to understand how land is used across very large areas: which fields are farmed, where forests are, which areas are waterlogged and how this changes over time. Doing that by hand, from site visits or by people looking at images, is slow and expensive, and it quickly goes out of date.

Satellite imagery is updated regularly and covers everything, but it is only useful if someone, or something, can interpret it at scale. The goal was a prototype that could do that automatically and reliably enough to have real operational value, not just academic interest.

Why off-the-shelf models were not enough

General image recognition models are trained to recognise everyday objects: cars, people, animals, buildings. Classifying land cover from overhead satellite images is a different task. The land types required for this project, such as barren land, shrubland, forest, waterlogged areas and agricultural fields, needed models trained specifically for them.

That meant designing and training our own computer vision models from the ground up, rather than plugging in an existing service.

Data was the foundation

Custom models are only as good as their training data. Good, labelled satellite imagery is hard to come by, and labelling it by hand would have taken a very long time.

The breakthrough was using open geospatial datasets released by the U.S. Geological Survey (USGS), which had recently made a comprehensive collection of labelled land-cover imagery available as part of a research competition. These datasets gave us a strong foundation to train models that could distinguish between the land types the project needed.

Challenge How we approached it
No suitable pre-built model Designed and trained custom computer vision models
Labelled data is scarce and costly Used open, labelled USGS land-cover datasets
Results must be useful in practice Set a target of more than 90% classification accuracy
Very large geographic areas Built a pipeline to process imagery and classify individual parcels

The pipeline

The prototype had a clear flow from raw imagery to a classification for each parcel of land:

  1. Ingest regularly updated satellite imagery for the area of interest.
  2. Prepare the images, aligning them with the parcels to be classified.
  3. Classify each parcel with the trained models.
  4. Score results against labelled examples to measure accuracy.
  5. Present the classifications so analysts can explore patterns and changes.

Setting an accuracy target above 90% from the start shaped every decision, from model design to how we tested results.

What the prototype proved

The prototype showed that AI-driven land classification is viable at scale. Beyond identifying crop coverage and agricultural density, it showed potential for:

  • Environmental monitoring.
  • Land management.
  • Biodiversity analysis.
  • Infrastructure planning.
  • Detecting unusual land-use patterns.

For public sector organisations, the lesson is that large volumes of satellite data can be turned into actionable information, as long as the models are trained for the specific task.

Lessons for any custom AI project

This project was about satellites, but the lessons apply to most specialist AI work, from inspecting products on a production line to reading medical images or classifying documents.

1. Check whether a ready-made model exists first

Many tasks can be solved with existing models and services, which is cheaper and faster. Custom models make sense when the task is specialised and existing models do not perform well enough. Our guide to custom AI vs off-the-shelf tools explains the trade-off.

2. Find the data before you design the model

The availability of labelled data often decides whether a project is feasible. Public datasets, like the USGS collection here, can save months. Look for open data, partners' data and your own historical records before planning manual labelling.

3. Set a measurable target

"Accurate" is not a target. "More than 90% of parcels correctly classified on a held-out test set" is. A clear target keeps the team focused and gives decision-makers something concrete to judge.

4. Build a prototype before a platform

A prototype answers the most important question, "does this work?", at a fraction of the cost of a full system. Only then is it worth investing in scale, integrations and user interfaces. Our guide to scoping an AI MVP covers how to plan one.

5. Think about uses beyond the first one

Once the core capability works, other uses often appear. Here, a tool built for land classification showed value for environmental, planning and biodiversity work too.

Computer vision beyond satellites

The same family of techniques powers many business applications: reading labels and meters, checking photos for damage, counting stock, or guiding inspections. Some can run directly on a phone. Read about computer vision in mobile apps and on-device AI on iPhone.

How the partnership worked

The project came through our long-standing partnership with Cubeware, a German analytics company we worked with on a major platform transformation. Partnerships like this let us bring software and AI engineering to organisations that need specialist skills for a specific initiative, alongside teams who know the client and domain well.

The short version

  • Built for the Bavarian government, through our partnership with Cubeware.
  • Custom computer vision models, because no existing model fitted the task.
  • Trained on open, labelled USGS land-cover datasets.
  • Target accuracy above 90%, with a pipeline to classify individual parcels.
  • Proved AI land classification is viable at scale, with wider uses in environment and planning.

Have a specialist AI problem? Book a call and we will tell you honestly whether an existing model will do, or whether a custom one is worth it.

Frequently asked questions

What is AI land classification?

Using machine learning models to label areas of land, such as farmland, forest or water, from images, usually satellite or aerial photography.

Why use satellite imagery?

It covers very large areas and is updated regularly, so changes in land use can be tracked over time without site visits.

How accurate can land classification be?

It depends on data quality, image resolution and how distinct the land types are. This project set a target of more than 90% classification accuracy.

Can this approach work for other industries?

Yes. The same principles of custom models, good labelled data and clear accuracy targets apply to inspection, agriculture, insurance, utilities and more.

Planning an app?

Talk it through with one of our co-founders. 30 minutes, no pressure.

Book a call

This website stores cookies on your computer. Cookie Policy