raster2poly

Getting Started

  • Introduction
    • Why this package?
    • Supported methods
    • Utility helpers
    • Design principles
  • Installation
    • From PyPI
    • From source
    • System requirements
    • Verify
  • Quick start
    • Unsupervised
    • Supervised (ROI shapefile)
    • Rule-based (DN ranges)

User Guide

  • Classification methods
    • Unsupervised β€” clf.unsupervised()
    • Supervised β€” clf.supervised()
    • Rule-based β€” clf.from_dn_ranges()
    • Utility helpers
      • available_algorithms()
      • band_stats()
      • encode_roi()
    • Polygon options (all methods)
    • Output formats
  • Cookbook
    • πŸ—ΊοΈ raster2poly β€” Classification & Vectorisation Cookbook
      • 0 β€” Setup
      • 1 β€” Load raster & inspect
      • 2 β€” Unsupervised classification (clustering)
      • 3 β€” Supervised classification (Random Forest from ROI)
      • 4 β€” Rule-based classification (DN ranges)
      • 5 β€” Quick visual comparison
      • πŸ“‹ Output files

Reference

  • API Reference
    • RasterClassifier
      • RasterClassifier.__init__()
      • RasterClassifier.unsupervised()
      • RasterClassifier.supervised()
      • RasterClassifier.from_dn_ranges()
      • RasterClassifier.available_algorithms()
      • RasterClassifier.band_stats()
      • RasterClassifier.encode_roi()
      • RasterClassifier.save()

Development

  • Contributing
    • Development setup
    • Coding standards
    • Adding a new algorithm
    • Running tests
    • Pull request workflow
    • Reporting issues
  • Changelog
    • 0.1.0 (2025)
raster2poly
  • Search


© Copyright 2026, Ismail Harkat.

Built with Sphinx using a theme provided by Read the Docs.