Version: [4873] ArchToolkit 0.1.7

0.1.7 - Fourth full-codebase honest-data audit (all 19 tools & core
modules) + external cross-software verification: (1) Metric CRS &
precision hardening: Web Mercator (EPSG:3857) is now rejected by
metric checks so planar distances/areas/slopes are never silently
inflated by ~25-60 percent in Korea; native-dtype NoData comparisons
(Float32/Int32/UInt32 sentinels) run before float casting; North-Up
GeoTransform validation rejects rotated/South-Up grids; GDAL bands are
released before dataset close and atomic_publish_files rolls back on
partial failure with sticky-bit-safe permissions; synchronous
Processing tasks no longer deadlock. (2) Mathematical & physical
honesty: added 16-neighbor knight's-move connectivity (Huber & Church
1985; GRASS r.walk -k equivalent, cutting flat-plane max grid
elongation from 8.24 percent to 2.75 percent with 2-cell intermediate
anti-tunneling) in Cost Surface and Cost Network; Herzog metabolic
mode outputs true Joules (kcal); pedestrian models enforce a 70 deg
cliff barrier and 3D steep-slope length; Pandolf downhill floors at
loaded standing rate; A*/Dijkstra block diagonal 1-px NoData and
high-friction river tunneling; Kriging equilibrates high-sill mountain
OK systems, stabilizes zero-nugget Gaussian variograms (0.5 percent
practical nugget floor), handles collocated nugget > 0 cleanly,
directly minimizes Cressie (1985) WLS, and runs automatic 4-azimuth
directional anisotropy and planar trend R^2 assumption diagnostics;
weighted betweenness and PPA RNG use scale-invariant tolerances;
Pearson/VIF guard shifted constants, z-standardize mixed scales,
exclude categorical/circular predictors, and add exact circular-linear
F-test p-values; AHP hierarchy reports hide flat seed CR, render
group/local CRs, reject fractional reclass gaps, and protect OAT
bounds. (3) Tool-level fixes & research transparency: Trench SAT
cell-box overlap catches edge cliffs on 5-10 m DEMs, adds axial
2-theta ridge fallback, and fails closed on grave-avoidance union
errors; Viewshed fixes non-square DEM NoData alignment, >20-point
cumulative count mode, and LOS gap splitting; GeoChem excludes
semi-transparent premultiplied alpha (<250), isolates absent-grey stop
0, protects dark stops, supports CP949 legend CSVs, and preserves GPKG
styling/aliases; Geology ZIP fixes CP949 Korean sheet names (e.g.
Hwacheon/Hongcheon), stops swallowing CRS-less RuntimeError, tracks
string-code labels/conflicts, and adds OOM/path-traversal guards; AI
report computes circular mean/R for Aspect, fixes binary-mask hints,
invalidates cache on rename/CRS/filter changes, re-prompts Gemini
consent on scope change, fixes pre-finished reply race, and writes
UTF-8 BOM CSVs; Cadastral clamps split-mode percentages, reports
TopologyException skips, and syncs union totals; Map Styling filters
mixed geometry types in aggregate_features; Terrain Analysis stamps
temp outputs and masks sparse TPI edges; Distance Raster aligns/flips
South-Up reference NoData masks. Added 88 verified primary references
across all 19 tools (REFERENCES.md + scholar_notes), UI research
caveat banners and automatic research_scope/caveat layer metadata,
docs/RESEARCH_GUIDE.md, .zenodo.json, and reproducible external
cross-benchmarks against GRASS GIS 8.4, R 4.5 (igraph/terra/stats),
GDAL 3.10, SciPy, NetworkX, and Shapely (docs/BENCHMARK.md). Verified
with 674 tests including V15-V27 regression suite on QGIS 3.40 LTR +
Processing.
0.1.6 - Third code review round: no silent wrong coordinates, no
silent write failures, no GUI freezes. Coordinate transforms now fail
closed - transform_point raises on error and QgsGeometry.transform's
non-zero return code is checked at ten call sites, so tools skip or
abort instead of plotting results at untransformed coordinates. Every
GeoTIFF write is verified (GDAL error state plus a reopen check) and a
truncated file is deleted instead of published. All 35 processing.run
call sites run through the QGIS task manager (new
tools/processing_task.py) with progress, cancel and a stalled-task
watchdog; map styling aggregation, PPA centralities and the
curvature/aspect array paths run on QgsTask workers. Viewshed LOS
samples a window instead of up to 200k provider.sample() calls, tracks
its result temp files to their layers, closes the progress dialog on
early exits and caps stored LOS profiles. Trench scanning samples
precomputed slope/aspect/AHP windows (no identify() per point) and is
cancellable. AI reporting asks for consent before sending the context
to Gemini, frees its network replies, isolates prompt data and
neutralizes CSV formulas. AHP reclass tables reject gaps wider than
one unit (gap cells scored a silent 0.0); cost surface and cost
network guess undeclared DEM sentinels (-9999 and friends) and report
it. Curvature and aspect-derivative computes run off the GUI thread
under a machine-aware memory guard. Assorted leak fixes: geology
rasterize-retry temp GPKG, map tool restore, dialog-memory late
restore, and result temp files survive a plugin reload via
layer-stamped tracking.
0.1.5 - Code review of all nineteen tools; each defect was reproduced
on synthetic data and checked against an independent calculation
before the fix. A review of six tools fixed: distance rasters now
declare NoData; align/export keeps AOI clips on the reference grid and
honours layer NoData; the VIF report samples inside the AOI polygon
and caps n; AHP handles constant criteria, out-of-range preferences
and hierarchy CR; trench slope is measured over the real footprint and
AHP-NoData candidates are excluded; the AOI report refreshes its cache
and labels buffer scope. A second review of the other thirteen tools
fixed: results deleted from the layer tree on re-runs (five tools);
approximate radius TPI (now an exact focal mean); visibility-network
LOS misjudging slopes; the Herzog wheeled critical slope read as
degrees (now percent); viewshed NoData, off-DEM observers and LOS
steps; DEM inputs mixing contours and spot heights; GeoChem breakpoint
classes and inpainting; cadastral rows lost on geometry collections;
geology NULL codes; profile charts smoothed without notice;
map-styling code names now per NGII tables. Viewshed range masking no
longer depends on GDAL's out-of-range flag (GDAL 3.11 wrote 0 on the
window's edge rows). CI runs on QGIS 3.40 and 3.44 LTR. Dedicated
icons for the VIF report and the trench suggestion; the image
generator's corner mark was removed from the icons.
0.1.4 - Practicality and honesty release, verified against the
previous code under a real QGIS 3.34 (27 before/after scenarios, 350
tests). Every tool help ends with a scholarly-basis block (which
published method, how its authors meant it to be used, what the tool
does not claim, sources); every dialog remembers its last inputs;
icons moved to icons/ at 256 px. Output-changing fixes: corrected TPI
window; DEM generator refuses 2D contours without an elevation field
instead of publishing an empty DEM and snaps the grid; Kriging (Lite)
is exact at data points; GeoChem rejects off-legend colours as NoData
and counts zones by the pixel-centre rule; geology codes are unified
across sheets; co-located sites share PPA edges; untested LOS pairs
are counted as fail_deg; trench rank follows score; distance rasters
burn lines and polygons with -at and refuse empty or non-square grids;
align/export resamples aspect nearest and marks unknown categoricals;
AHP hierarchy weights are actually used; the AI report classifies
every scanned site and flags truncation. Citations verified against
Crossref and other primary sources (0 nonexistent, 9 misattributions
corrected); REFERENCES.md labels (A) called algorithms, (B)
implemented formulas, (C) context. Relative-slope cost reference
default 1 to 5 degrees; LOS curvature correction on by default.
Sources rewritten for QGIS 4 (PyQt6): scoped enums, QMetaType field
types, Qgis.* enums, with a small runtime-probed compatibility module;
qgisMaximumVersion raised to 4.99. Verified on QGIS 3.34 (350 tests,
27 regression scenarios unchanged) and against PyQt6 6.11; not yet run
on a QGIS 4 build. Plugin ZIP build script and release workflow added.
0.1.3 - Security-scan hardening (every swallowed exception logged) and
the full-code review fixes: help dialog crash, AHP scoring/NoData/grid
validation, trench coverage-first placement, contour NoData, Pandolf
descent clamp, Wasserman-Faust closeness, viewshed sampling with
curvature/refraction, terrain memory and CRS guards, atomic
align/export with categorical protection and manifest, new Distance to
Features tool, TRI radius, Weiss classification honouring the TPI
radius, memory-based cost budgets, AHP guide.
0.1.2 - Scroll-safe popups for long text; flake8 cleanup.
0.1.1 - UI language setting; shared dialog chrome; i18n fixes; safer
geology QML parsing.
0.1.0 - Initial public beta.

yes

lzpxilfe

2026-11-19T09:00:30.416480+00:00

3.40.0

4.99.0

None

no

Version management

Plugin details