Early in my career I was handed a land cover map and told to use it for a water resources study. It was a handsome product, with eight classes in confident colors. Two days into the work I noticed that a reservoir I knew well was labeled “wetland”, an orchard was “forest”, and a large patch of bare, plowed fields was “urban”. When I asked the producer how accurate the map was, he shrugged: “Pretty good.” Nobody had ever measured it.
That experience shaped how I approach every classification since. A land cover map is not a picture of reality. It is a model, built from imagery, a list of categories, a set of examples and an algorithm, and its quality can and must be measured. In this guide I will take you through the complete process: what land use and land cover actually mean, how to design a classification scheme, which methods exist, how to build a map step by step, and how to assess its accuracy honestly.
For the foundations on imagery and bands, read Remote Sensing Basics for GIS Users first.

Land Cover vs. Land Use
These two terms are used interchangeably, and they shouldn’t be. They describe different things.
- Land cover is the physical material covering the ground: forest, grass, water, bare soil, asphalt, buildings, snow. It is what a sensor can see.
- Land use is how people use the land: agriculture, residential, industrial, recreation, conservation. It’s a social and economic concept, and often can’t be seen directly from imagery.
A grassy area may be a pasture (agricultural use), a park (recreational use) or an airport verge (transport use). The land cover is the same, the use is different. Remote sensing maps cover well and use poorly, so land use is usually inferred from cover plus context: shape, size, location, texture and ancillary data such as parcels, zoning and roads.
In practice, many “land use and land cover” products mix both in one legend. That is acceptable if you are clear about it, and consistent.
Why Classify Land Cover?
- Monitor change: deforestation, urban sprawl, wetland loss, agricultural expansion.
- Plan and manage: zoning, conservation, infrastructure and resource planning.
- Model and report: inputs for hydrology, climate, carbon and biodiversity models, and for national and international reporting.
- Assess risks: flood, erosion, wildfire and landslide hazards depend on cover.
- Support agriculture: crop type maps and area statistics.
- Provide context: many analyses need to know what is where.
Step 1: Design the Classification Scheme
This is the most important step, and the one beginners rush. The classes you choose determine what the map can and cannot say.

Qualities of a good scheme
- Mutually exclusive: every location belongs to one class only.
- Exhaustive: every location belongs to some class. Include an “other” class if necessary.
- Clearly defined: each class has a written definition with thresholds, such as “tree cover above 15 percent, taller than 5 meters”.
- Separable with your data: the classes must be distinguishable by the imagery you have. Two classes with the same spectral behavior, such as natural grassland and pasture, can’t be separated by color alone.
- Appropriate to the purpose and scale: a national map needs fewer, broader classes than a municipal plan.
- Hierarchical: a scheme with levels, such as “vegetation” at level 1 and “forest, shrubland, grassland” at level 2, lets you aggregate or refine.
- Comparable: if you want to compare with other maps or earlier dates, use a standard scheme.
Established schemes
- CORINE Land Cover: a European standard with a three-level hierarchy, widely used and updated periodically.
- Anderson classification: a classic, hierarchical scheme from the United States.
- FAO Land Cover Classification System (LCCS): a flexible system for defining classes from a set of attributes, widely used internationally.
- IGBP and other global schemes: used in global products.
- National schemes, such as the National Land Cover Database in the United States, or your country’s own legend.
- Products with simple global legends, such as 10 to 11 broad classes: trees, shrubs, grass, cropland, built-up, bare, water, wetland, snow, moss.
Adopting an established scheme saves time and makes your map comparable. Adapt it only when you must, and document the changes.
A minimum mapping unit
Decide the smallest area that will be mapped, for example 0.5 hectares. It controls how much detail the map carries, and how much noise you will have to clean. It also relates directly to pixel size: a 10-meter pixel covers 100 square meters, so a 0.5 hectare minimum is about 50 pixels.
Step 2: Choose and Prepare the Imagery
The imagery sets the limits of your classification. See Satellite Imagery Sources: Free vs. Paid for sources.
- Spatial resolution must fit your classes. A 10-meter image can map fields and forests, but not individual houses or small gardens.
- Spectral bands matter. Near-infrared and shortwave infrared bands improve discrimination of vegetation, water and soils.
- Time matters. Different land covers look different in different seasons. Multi-temporal data, with images from several dates in the year, greatly improves the separation of crops, grassland and forest, because their phenology differs.
- Choose the right season for your classes, or use a time series.
- Use surface reflectance data (Level-2), so that dates are comparable.
- Mask clouds and shadows, and build clean composites.
- Consider radar (such as Sentinel-1) in cloudy regions, and as additional information on structure and moisture.
- Add auxiliary data: elevation and slope from a DEM (see Digital Elevation Models (DEM) and Terrain Analysis), distance to roads or rivers, and existing maps.
Build a feature stack
Instead of classifying only the raw bands, create a stack of layers that helps the classifier:
- The spectral bands.
- Indices: NDVI (see NDVI Explained: Vegetation Analysis Step by Step in QGIS and ArcGIS Pro), water indices, built-up indices, soil and moisture indices.
- Texture measures: local variability, useful for distinguishing forest from grass, and urban from bare soil.
- Multi-date or seasonal statistics: maximum NDVI, minimum NDVI, amplitude.
- Terrain: elevation, slope and aspect.
All layers must share the same grid, resolution and coordinate system. See Coordinate Reference Systems (CRS) Explained Simply.
Step 3: Collect Training Data
Machine learning classifiers learn from examples. The training samples are polygons or points where you know the class, and the quality of these samples is the single biggest factor in the quality of the map.
How to collect samples
- Field data: GPS-located observations of land cover, the most reliable source.
- High-resolution imagery interpretation: identify classes visually on very high-resolution imagery or aerial photographs. Cheap and practical.
- Existing reference maps, carefully checked.
- Stratified collection: gather samples for every class, across the whole study area, and across the range of conditions within each class, such as different soil types, slopes and seasons.
Guidelines
- Representativeness over quantity. A few hundred well-chosen samples beat thousands of sloppy ones.
- Enough samples per class. A common guideline is dozens to hundreds of samples per class, depending on the method. Rare classes need special attention.
- Pure samples. Choose areas that are clearly one class, avoiding edges and mixed pixels, for training. (You will need other samples for validation, which reflect the whole map.)
- Balance the classes, or at least avoid letting one class dominate.
- Separate training from validation. Never use the same samples to train and to test.
- Keep samples spatially distributed, so that neighboring pixels don’t appear in both sets. This is a trap explained in AI and Machine Learning in GIS.
- Record the source and date of every sample.
Step 4: Choose a Classification Method
Unsupervised classification
The algorithm groups pixels into spectral clusters without examples, and then you label each cluster. Common methods are K-means and ISODATA.
- Pros: needs no training data, quick and exploratory.
- Cons: clusters don’t necessarily match your classes, and labeling is subjective. Useful for exploration and for checking spectral separability, less so for the final map.
Supervised pixel-based classification
You provide training samples, and the algorithm learns to assign each pixel to a class. Common classifiers:
- Maximum likelihood: a classic statistical method, assuming a normal distribution per class.
- Minimum distance and spectral angle: simple methods based on similarity to class means.
- Support vector machines (SVM): powerful with small training sets.
- Random Forest: an ensemble of decision trees. Robust, accurate, handles many input layers, resists overfitting and provides measures of variable importance. The workhorse of modern land cover mapping.
- Gradient boosting methods: often very accurate with tabular feature stacks.
Object-based image analysis (OBIA)
Instead of classifying single pixels, OBIA first segments the image into meaningful objects, groups of similar neighboring pixels, and then classifies the objects using their spectral, shape, size, texture and context properties.
- Pros: reduces the “salt-and-pepper” noise, uses shape and context, and excels with very high-resolution imagery.
- Cons: segmentation settings are subjective, and the workflow is more complex.
Deep learning
Convolutional neural networks and related architectures learn spatial patterns directly from image patches, and can achieve excellent results, especially with very high-resolution data and large, high-quality labeled datasets.
- Pros: can capture complex textures and context.
- Cons: needs lots of labeled data, computing resources and expertise. Often unnecessary for medium-resolution mapping. Consider using pretrained models and existing open products.
Rule-based and index-based methods
Thresholds on indices, such as water above a certain index value, or decision rules combining several layers. Transparent and effective for single classes (water, burned area, built-up), and for refining a classification.
Visual interpretation and manual digitizing
For small areas and very high-resolution imagery, a trained analyst can digitize land cover directly. Slow, but sometimes the best quality, and the reference for validating others.
Choosing
- Small area, high-resolution imagery: OBIA or manual interpretation.
- Regional mapping with Sentinel-2 or Landsat: Random Forest on a multi-temporal feature stack.
- One class only: index and threshold rules.
- Large datasets and available expertise: deep learning.
- Exploration: unsupervised classification first.
Step 5: Run the Classification
In QGIS
The Semi-Automatic Classification Plugin (SCP) provides a full workflow: preprocessing, training areas (regions of interest), classification algorithms and accuracy assessment. QGIS also offers Processing tools through GRASS and the Orfeo ToolBox, and plugins for machine learning. See Best GIS Plugins for QGIS and Best Free and Open-Source GIS Tools.
In ArcGIS Pro
The Image Classification Wizard guides you through segmentation, training samples, classifier selection (Random Trees, SVM, maximum likelihood and others) and accuracy assessment, and the Deep Learning tools handle neural network workflows.
In Google Earth Engine
Earth Engine provides built-in classifiers, such as Random Forest, and handles large areas and long time series without downloading data. See Google Earth Engine for Beginners.
In Python
A typical Random Forest workflow with scikit-learn and Rasterio:
import numpy as np
import rasterio
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import classification_report, confusion_matrix
# X: (n_samples, n_features) feature values at training pixels
# y: (n_samples,) class labels; pixels from training polygons, already extracted
# Use spatially separate training and validation polygons (not a random pixel split)
rf = RandomForestClassifier(n_estimators=300, n_jobs=-1, random_state=42)
rf.fit(X_train, y_train)
# Evaluate on independent validation samples
y_pred = rf.predict(X_val)
print(confusion_matrix(y_val, y_pred))
print(classification_report(y_val, y_pred))
# Apply to the whole feature stack
with rasterio.open("feature_stack.tif") as src:
img = src.read() # shape: (bands, rows, cols)
profile = src.profile
bands, rows, cols = img.shape
X_all = img.reshape(bands, -1).T # (pixels, bands); handle NoData first
pred = rf.predict(X_all).reshape(rows, cols).astype("uint8")
profile.update(count=1, dtype="uint8", nodata=0)
with rasterio.open("landcover.tif", "w", **profile) as dst:
dst.write(pred, 1)Remember to mask or exclude NoData pixels before predicting. The wider ecosystem appears in Geospatial Development & Automation: The Ultimate Guide.
Step 6: Post-Process the Result
The raw output often contains noise. Clean it thoughtfully.
- Majority (mode) filter or sieve: removes isolated pixels and enforces a minimum mapping unit.
- Rule-based corrections, using logic and ancillary data: no “water” on steep slopes, where dark shadows are often mistaken for it, and no “built-up” inside a strictly protected wilderness area. Use such rules sparingly and document them.
- Masks: apply known layers, such as a trusted building footprint or water body layer, to improve specific classes.
- Vectorize if needed for polygon-based products, then simplify and clean. Remember the cautions in Vector vs. Raster Data: The Complete Guide.
- Assign final colors and codes according to the scheme.
Over-cleaning can erase real small features, so balance noise removal with fidelity.
Step 7: Assess Accuracy (The Step That Makes It Science)
An unvalidated classification is an opinion. Accuracy assessment turns it into a measurement.
Collect independent reference data
- Take a separate sample of locations, not used in training, and determine their true class from field data or high-resolution imagery, without looking at the map, to avoid bias.
- Use probability-based sampling, such as stratified random sampling, so that rare classes get enough points while the whole map is represented.
- Use enough samples. A guideline is 50 or more per class as a minimum, more for large areas and many classes.
- Include the reference date that matches the map.
The confusion matrix
The core tool: a table comparing the mapped class with the reference class for each sample. The diagonal shows correct classifications. Off-diagonal cells show confusion between classes.
The measures
- Overall accuracy: the share of all samples classified correctly. Easy to understand, but it hides class-level problems, and is dominated by large classes.
- User’s accuracy (reliability): of the pixels the map labels as class X, what share truly are X? It answers, “if I use this map and find class X, how often will I be right?” The complement is the commission error.
- Producer’s accuracy (completeness): of the places that truly are class X, what share did the map find? The complement is the omission error.
- F1 score: a balance of user’s and producer’s accuracy.
- Kappa coefficient: a historically popular measure that adjusts for chance agreement. It’s increasingly criticized as redundant and misleading, so report overall, user’s and producer’s accuracies as the main measures.
Beyond the basics
- Area-adjusted estimates: the area of each class counted directly from the map is biased by classification errors. Good practice, now widely recommended, is to use the confusion matrix and sampling design to produce error-adjusted area estimates with confidence intervals, especially for reporting change.
- Spatial pattern of errors: map where the errors occur. Do they cluster in a certain terrain, or along class boundaries?
- Per-class discussion: which classes are confused, and why?
A reality check
An overall accuracy of 85 to 90 percent is considered good for many regional land cover maps, but what matters is whether the accuracy is sufficient for your purpose. A map that confuses cropland with grassland may be perfectly fine for a forest study and useless for agriculture.
Common Sources of Confusion
Know the typical trouble spots.
- Bare soil vs. built-up: similar reflectance. Texture, context and building footprint data help.
- Cropland vs. grassland: distinguished mainly by time series and phenology.
- Forest vs. shrubland vs. orchards: height and structure matter. Radar, LiDAR and texture help.
- Water vs. shadow: both dark. Use water indices, terrain shadows and the near-infrared and shortwave bands.
- Wetlands: variable water level and vegetation, and difficult to classify. Multi-date and radar data help.
- Mixed pixels: at boundaries and in heterogeneous areas, a pixel may contain several classes.
- Seasonal change: harvested fields look like bare soil. A single date can mislead.
- Clouds and haze, and their shadows.
- Terrain effects: slopes facing away from the sun appear darker.
Existing Land Cover Products: Use Them Before Building Your Own
Before you start, check whether a good map already exists.
- Global products at 10 meters, derived from Sentinel data, provide broad classes, some updated annually or even near-real-time.
- Continental and national products, such as CORINE in Europe.
- Thematic products: forest cover and loss, surface water, built-up areas and croplands.
- Local authority maps.
Existing products save enormous effort, but verify their accuracy for your area, check the definitions of their classes, and understand their date and resolution. See Where to Find Free GIS Data (Complete Source List). They also make useful starting points or reference data for your own work.
Change Detection
Once you have maps for two dates, you can study change.
- Post-classification comparison: overlay two classified maps and construct a change matrix, showing the area that changed from each class to every other. Simple and informative, but errors in each map accumulate, so changes may be exaggerated.
- Image differencing or index differencing: compare images or indices directly, and threshold the change. Sensitive to season and sensor differences.
- Time-series methods: analyze many dates to detect breaks and trends, and distinguish real change from seasonal variation.
Always use the same classification scheme, comparable data and the same season, and use error-adjusted estimates of change when the results matter.
A Worked Example: A Six-Class Map of a River Basin
Question: produce a land cover map of a river basin with six classes: forest, cropland, grassland and shrub, built-up, bare, and water.
- Define the scheme, with written definitions and a minimum mapping unit of 0.5 hectares.
- Get imagery: Sentinel-2 Level-2A, for four dates across the growing season, cloud-masked and composited.
- Build a feature stack: the main bands, NDVI for each date, a water index, texture of the near-infrared band, elevation and slope.
- Collect samples: about 200 polygons per class, from high-resolution imagery and field visits, spread across the basin. Set aside 30 percent as independent validation, in separate areas.
- Train a Random Forest, and inspect the variable importance to see which layers matter.
- Classify the whole basin.
- Post-process: apply a majority filter and the minimum mapping unit, and mask known water bodies.
- Validate with the independent samples, computing the confusion matrix, overall, user’s and producer’s accuracies.
- Refine: if bare soil and built-up are confused, add texture or building data and re-run.
- Document and deliver: the map, the scheme, the data, the method, the accuracy table and the limitations, in line with Metadata in GIS: Why It Matters and How to Create It.
Common Mistakes
- Starting with the algorithm instead of the classes. The scheme comes first.
- Classes that the data can’t separate, and promising a map that can’t be delivered.
- Using a single date for classes defined by seasonal behavior.
- Poor, unrepresentative or too few training samples.
- Testing on the training data, which gives meaninglessly high accuracy.
- Random pixel splits where neighboring pixels are in both training and testing sets, inflating accuracy.
- Reporting only overall accuracy, hiding weak classes.
- Ignoring the minimum mapping unit, leaving a noisy, speckled map.
- Over-trusting existing products, without checking them locally.
- Comparing maps made with different schemes or methods and calling the differences change.
- Not documenting the method, so the map can’t be reproduced or judged.
- Treating the map as the truth. It is a model with known errors.
Final Thoughts
Land cover classification brings together almost everything we know in GIS and remote sensing: data selection, preprocessing, sampling, statistics, algorithms, cartography and ethics of communication. It is demanding, and it is deeply satisfying when a clean, validated map emerges from a pile of pixels.
The habit that separates professionals from amateurs is humility about the result. State the classes, the data and the method. Report the accuracy, class by class. Say what the map is good for, and what it is not. Then your map, imperfect as every map is, becomes something others can trust.
Where to go next: explore Working with Drones (UAV) and GIS for very high-resolution land cover and training data, and Spatial Analysis in GIS: Complete Guide to use your classification in further analysis.



