How madeshchkma/lulckit works
LULCkit turns GeoTIFF inputs into inspected profiles, classified or styled rasters, and GIS-ready reports and maps. Its primary workflow is CLI input → profile/model selection → windowed inference → artifact generation. Separate capabilities include band/index operations, clipping, batch and guided workflows, a browser studio, and a hosted Gradio app. The graph follows README capabilities and shown imports/calls; some unsampled subsystem connections are omitted or marked unverified.
Main entry points: cli.py CLI workflows · app.py Hosted Gradio app · router.py Model routing · tiling.py Windowed inference
Components 17
User interfaces
- CLI workflows
src/lulckit/cli.py - Browser studio
docs/app.js - Hosted Gradio app
spaces/app.py
Raster analysis
- Raster profiling
src/lulckit/inspect.py - Geospatial math
src/lulckit/geo.py - Bands and indices
src/lulckit/bands.py - GeoJSON clipping
src/lulckit/bands.py
Classification models
- Model routing
src/lulckit/models/router.py - Model interface
src/lulckit/models/base.py - Categorical pass-through
src/lulckit/models/categorical.py - HF SegFormer
src/lulckit/models/hf_segformer.py - Dynamic World
src/lulckit/models/s2_dw.py - Windowed inference
src/lulckit/tiling.py
Map products
- Reports and vectors
src/lulckit/outputs.py - Print and web maps
src/lulckit/cartography.py - GIS-ready files
Other components
- Raster user
Connections 23
- Raster user → CLI workflows: runs commands
README.md - CLI workflows → Raster profiling: profiles rasters
src/lulckit/cli.py - CLI workflows → Model routing: selects model
src/lulckit/cli.py - CLI workflows → Bands and indices: runs band tools
src/lulckit/cli.py - CLI workflows → GeoJSON clipping: clips rasters
README.md - CLI workflows → Windowed inference: runs inference
src/lulckit/cli.py - CLI workflows → Reports and vectors: builds reports
src/lulckit/cli.py - Model routing → Categorical pass-through: instantiates
src/lulckit/models/router.py - Model routing → HF SegFormer: instantiates
src/lulckit/models/router.py - Model routing → Dynamic World: instantiates
src/lulckit/models/router.py - Categorical pass-through → Model interface: implements
src/lulckit/models/categorical.py - HF SegFormer → Model interface: implements
src/lulckit/models/hf_segformer.py - Dynamic World → Model interface: implements
src/lulckit/models/s2_dw.py - Windowed inference → Geospatial math: uses math
src/lulckit/tiling.py - Windowed inference → Model interface: uses model API
src/lulckit/tiling.py - Windowed inference → GIS-ready files: writes rasters
README.md - Reports and vectors → GIS-ready files: writes reports
README.md - Print and web maps → GIS-ready files: exports maps
README.md - Raster user → Browser studio: opens studio
README.md - Raster user → Hosted Gradio app: opens app
README.md - Hosted Gradio app → Raster profiling: profiles uploads
spaces/app.py - Hosted Gradio app → Bands and indices: offers band tools
spaces/app.py - Hosted Gradio app → Print and web maps: offers map export
spaces/app.py