Supported TasksLand Cover Classification

Land Cover Classification

Classify land cover types in satellite imagery

Quick Start

import { geoai } from "geoai";
 
// Initialize pipeline
const pipeline = await geoai.pipeline(
  [{ task: "land-cover-classification" }],
  providerParams
);
 
// Run classification
const result = await pipeline.inference({
  inputs: { polygon: myPolygon },
});
 
console.log(
  `Detections ${result.detections.features.length}`
);
🌍

Classifies regions into 8 land cover types: forest, agriculture, urban, water, roads, rangeland, bareland, and buildings

Parameters

Map Source

mapSourceParams: {
  zoomLevel: 15; // 14-16 recommended for land cover analysis
}

Land Cover Classes

Class
tree
agriculture land
developed space
water
road
rangeland
bareland
buildings

Output

Returns a FeatureCollection (each feature has its own land cover class):

{
  geoRawImage : GeoRawImage, // Inference image
  outPutImage : GeoRawImage, // combined masks
  detections: {
      type: "FeatureCollection",
      features: [
        {
          geometry: { /* tree polygon */ },
          properties: {
            class: "tree"
          }
        }
      ]
    }
}