# syed-sameer13/sahinaksha architecture

> Architecture diagram of the GitHub repository syed-sameer13/sahinaksha, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/syed-sameer13/sahinaksha
- Repository: https://github.com/syed-sameer13/sahinaksha

## Overview

SahiNaksha is a prototype concept for turning aerial survey imagery into preliminary cadastral features that surveyors can review and export. The graph follows the README’s documented workflow and capabilities, not verified runtime calls: the supplied tree contains documentation only, and no implementation excerpts were available. Paths identify existing documents describing these areas; they do not imply that corresponding software modules exist.

Main entry points: [`docs/requirements.md`](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/requirements.md) (Edit and verify), [`docs/data-model.md`](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/data-model.md) (Candidate parcels), [`docs/ai-pipeline.md`](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md) (Preprocessing), [`docs/gis-methodology.md`](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md) (GIS comparison)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Survey Inputs"]
  node_preprocessing["Preprocessing<br/>[ai-pipeline.md]"]
end

subgraph group_processing["Geospatial Processing"]
  node_feature_extraction["AI extraction<br/>[ai-pipeline.md]"]
  node_polygonization["Polygonization<br/>[gis-methodology.md]"]
  node_candidate_parcels["Candidate parcels<br/>[data-model.md]"]
end

subgraph group_review["Validation &amp; Review"]
  node_topology["Topology validation<br/>[gis-methodology.md]"]
  node_comparison["GIS comparison<br/>[gis-methodology.md]"]
  node_confidence["Review priority<br/>[ai-pipeline.md]"]
  node_survey_review["Edit and verify<br/>[requirements.md]"]
end

subgraph group_outputs["Deliverables"]
  node_geojson["GeoJSON export<br/>[api-contract.md]"]
  node_shapefile["Shapefile export<br/>[api-contract.md]"]
  node_pdf_report["PDF report<br/>[api-contract.md]"]
end

node_survey_data(("Drone imagery"))
node_optional_elevation(("Optional DSM/DTM"))
node_existing_gis(("Existing GIS"))
node_surveyor(("Surveyor"))

node_survey_data -->|"supplies imagery"| node_preprocessing
node_optional_elevation -.->|"supplies elevation"| node_preprocessing
node_existing_gis -.->|"supplies reference"| node_comparison
node_preprocessing -->|"prepared imagery"| node_feature_extraction
node_feature_extraction -->|"extracts features"| node_polygonization
node_polygonization -->|"generates candidates"| node_candidate_parcels
node_candidate_parcels -->|"validates topology"| node_topology
node_candidate_parcels -->|"compares features"| node_comparison
node_comparison -->|"informs priority"| node_confidence
node_topology -->|"informs priority"| node_confidence
node_confidence -->|"prioritizes review"| node_survey_review
node_surveyor -->|"edits and verifies"| node_survey_review
node_survey_review -->|"exports features"| node_geojson
node_survey_review -->|"exports features"| node_shapefile
node_survey_review -->|"generates report"| node_pdf_report

click node_preprocessing "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md"
click node_feature_extraction "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md"
click node_polygonization "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md"
click node_candidate_parcels "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/data-model.md"
click node_topology "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md"
click node_comparison "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md"
click node_confidence "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md"
click node_survey_review "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/requirements.md"
click node_geojson "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md"
click node_shapefile "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md"
click node_pdf_report "https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_preprocessing toneBlue
class node_feature_extraction,node_polygonization,node_candidate_parcels toneAmber
class node_topology,node_comparison,node_confidence,node_survey_review toneMint
class node_geojson,node_shapefile,node_pdf_report toneRose
class node_survey_data,node_optional_elevation,node_existing_gis,node_surveyor toneIndigo
```

## Components

### Survey Inputs

- [Preprocessing](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md): `docs/ai-pipeline.md`

### Geospatial Processing

- [AI extraction](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md): `docs/ai-pipeline.md`
- [Polygonization](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md): `docs/gis-methodology.md`
- [Candidate parcels](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/data-model.md): `docs/data-model.md`

### Validation & Review

- [Topology validation](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md): `docs/gis-methodology.md`
- [GIS comparison](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/gis-methodology.md): `docs/gis-methodology.md`
- [Review priority](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/ai-pipeline.md): `docs/ai-pipeline.md`
- [Edit and verify](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/requirements.md): `docs/requirements.md`

### Deliverables

- [GeoJSON export](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md): `docs/api-contract.md`
- [Shapefile export](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md): `docs/api-contract.md`
- [PDF report](https://github.com/syed-sameer13/sahinaksha/blob/main/docs/api-contract.md): `docs/api-contract.md`

### Other components

- **Drone imagery**
- **Optional DSM/DTM**
- **Existing GIS**
- **Surveyor**

## Connections

- Drone imagery → Preprocessing: supplies imagery
- Optional DSM/DTM → Preprocessing: supplies elevation
- Existing GIS → GIS comparison: supplies reference
- Preprocessing → AI extraction: prepared imagery
- AI extraction → Polygonization: extracts features
- Polygonization → Candidate parcels: generates candidates
- Candidate parcels → Topology validation: validates topology
- Candidate parcels → GIS comparison: compares features
- GIS comparison → Review priority: informs priority
- Topology validation → Review priority: informs priority
- Review priority → Edit and verify: prioritizes review
- Surveyor → Edit and verify: edits and verifies
- Edit and verify → GeoJSON export: exports features
- Edit and verify → Shapefile export: exports features
- Edit and verify → PDF report: generates report
