How yaswanth-001aiml/ap-land-resurvey works
This is an Andhra Pradesh cadastral parcel and satellite-monitoring platform. Its principal workflow is parcel lookup, selection of observation dates, Sentinel-2 scene retrieval, parcel-level analysis through U-Net classification and spectral change measures, then presentation of an inspection result. The graph also includes the documented model-training path and alternate API/UI implementations. Some frontend-to-backend wiring and unsampled subsystem details are not shown, so those relationships are omitted or marked unverified.
Main entry points: backend.py Main application API · unet.py Seven-class U-Net · App.jsx Land dashboard · parcel_service.py Parcel lookup
Components 17
User interfaces
- Land dashboard
frontend/src/App.jsx - Dashboard variant
frontend/src/App_backup.jsx - Change dashboard
frontend/src/ChangeDetection.jsx - Map display
frontend/src/components/MapView.jsx - Parcel search UI
app.py
Cadastral search
- Parcel lookup
parcel_service.py - Parcel search utility
parcel_search.py
Imagery and analysis
- Parcel analysis
parcel_analysis_service.py - Sentinel-2 retrieval
satellite_service.py - Spectral change
change_detector.py
Deep learning
- Seven-class U-Net
src/dl/unet.py - Land-cover dataset
src/dl/dataset.py - Model training
src/dl/train.py
API services
- Main application API
backend.py - Segmentation API
api/main.py - Segmentation API variant
api/main_backup.py
Other components
- Land analyst
Connections 17
- Land analyst → Land dashboard: selects parcel
- Land analyst → Parcel search UI: searches parcel
app.py - Land dashboard → Main application API: requests analysis
- Dashboard variant → Map display: renders map
frontend/src/App_backup.jsx - Land dashboard → Change dashboard: opens change view
- Parcel search UI → Parcel lookup: searches
app.py - Main application API → Parcel lookup: queries parcels
backend.py - Main application API → Sentinel-2 retrieval: requests imagery
backend.py - Main application API → Seven-class U-Net: uses model
backend.py - Parcel analysis → Parcel lookup: loads parcel
parcel_analysis_service.py - Parcel analysis → Sentinel-2 retrieval: downloads scenes
parcel_analysis_service.py - Model training → Land-cover dataset: loads samples
src/dl/train.py - Model training → Seven-class U-Net: trains model
src/dl/train.py - Segmentation API → Seven-class U-Net: runs inference
api/main.py - Segmentation API variant → Seven-class U-Net: runs inference
api/main_backup.py - Main application API → Spectral change: computes changes
- Land analyst → Segmentation API: uploads imagery