[general]
name=Chak Star Alignment
qgisMinimumVersion=3.16
description=Draws chak outlet to sub-chak alignments as a star or a branched tree network, with noded segments, hierarchy, chainage, area/discharge served and DEM-based elevation checks.
version=3.6.1
author=Himanshu Khanve
email=hgkhanve@gmail.com
about=Adds the Processing algorithm "Star / Tree Alignment - Chak Outlet to Sub-Chaks" (group "Chak Design") plus a toolbar dialog. Outlets and sub-chaks are matched to their chak by location - no shared ID field needed. Star mode draws the shortest spoke from the outlet to each sub-chak; Tree mode builds a branched network where each sub-chak tees off the nearest point of the pipe already laid, trying several layouts per chak and keeping the shortest (never longer than the star). Lines end an inset distance inside each sub-chak, at its highest DEM point, or at its centre. Output segments are split at every tee and carry segment/parent IDs, main/branch hierarchy, chainage, sub-chaks and area served downstream, optional design discharge, and DEM elevations, fall, slope and uphill/ridge flags. Optional node and per-chak summary layers. Inputs in different CRSs are reprojected on the fly; the chak layer must be in a projected CRS (metres).
tracker=https://github.com/HimanshuKhanve/chak-star-alignment/issues
repository=https://github.com/HimanshuKhanve/chak-star-alignment
homepage=https://github.com/HimanshuKhanve/chak-star-alignment
experimental=False
changelog=3.6.1 - Security/quality scan fixes: no silent try/except/pass (handled failures are logged to the QGIS log panel under "Chak Star Alignment"), parameter renamed CROSSING_SERVES, flake8 clean. 3.6 - Tree mode rebuilt with a geometric length optimiser, noded network output with hierarchy/chainage/area/discharge, DEM elevations and uphill/ridge flags, node and summary layers, centre end-point mode, CRS handling. See CHANGELOG.md.
deprecated=False
server=False
hasProcessingProvider=yes
tags=irrigation,chak,processing,network,star,tree,branched,pipeline,alignment,command area,canal,PDN
category=Vector
icon=icon.png
