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
  • Index

Index

_ | A | B | E | F | R | S | U

_

  • __init__() (raster2poly.RasterClassifier method)

A

  • available_algorithms() (raster2poly.RasterClassifier static method)

B

  • band_stats() (raster2poly.RasterClassifier method)

E

  • encode_roi() (raster2poly.RasterClassifier method)

F

  • from_dn_ranges() (raster2poly.RasterClassifier method)

R

  • RasterClassifier (class in raster2poly)

S

  • save() (raster2poly.RasterClassifier method)
  • supervised() (raster2poly.RasterClassifier method)

U

  • unsupervised() (raster2poly.RasterClassifier method)

© Copyright 2026, Ismail Harkat.

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