Version: [6798] SWC Grid Slope (坵塊法坡度分析) 1.4.1

1.4.1 - Grid auto-search: the default goal is now the fewest cells
above grade N (N = 3) among the cells covering the building footprint;
the fewest cells of grade N or below remains available as the second
option.
1.4.0 - Print layouts: user-defined print scale (not smaller than
1/1200, default 1/1000); the paper size (A4 to A0) and orientation
(landscape / portrait) are chosen automatically from the scale, or can
be set by hand; the scale is printed under the scale bar. When a
building layer (建築範圍) is selected: cell statistics inside the building
footprint are added to the results panel, the CSV export and the slope
layout notes (new bld_area field on the cell layer), and the building
layer is drawn and listed in the legend of both layouts and saved with
the project.
1.3.0 - Grid auto-search (坵塊自動搜尋): choose a building polygon layer
(inside the plan / site boundary) and the plugin tries rotation angles
(-45 to 45 degrees) and grid positions (offsets within one cell) and
applies the frame for which the cells covering the buildings contain
the fewest cells of grade N or below (N = 3 by default; alternatively
the fewest cells above grade N). Angle step, position step, threshold
grade and goal are adjustable; the search can be cancelled. Cell
overlay test is faster on large frames.
1.2.4 - Pass the plugins.qgis.org security and Qt6 scans: no
try/except/pass (bandit B110, now logged to the QGIS message log), no
deprecated unscoped enums in the source (QGIS 3 fallbacks looked up by
name), no ambiguous variable names (E741). No functional change.
1.2.3 - Fix metadata.txt for plugins.qgis.org (no bare percent signs
in the changelog).
1.2.2 - Larger labels on the 坵塊坡度分析 layer (text style 0.085 L → 0.155
L; big-grade style: grade 0.50 L, intersection count, slope percent
and cell number enlarged); edge-count labels capped at 0.24 L so they
do not cover the cell text.
1.2.1 - Plan boundary (計畫範圍) is mandatory: drawing, editing and
computing are blocked with a warning when none is selected or it has
no features; computing is blocked when the grid frame does not fully
contain the plan boundary (also in the Processing algorithm, where the
plan input is now required).
1.2.0 - Layer tree: main group 坵塊法坡度坡向分析 with sub-groups 坡度圖 and 坡向圖;
intersection points hidden by default (layouts follow its visibility);
edge layer renamed 坵塊邊界 with larger labels fitted to the layout scale;
export names <QGIS project name>_坡度圖 / _坡向圖 (PDF or PNG); layout fits
the produced cells with an automatic scale bar; adaptive aspect
sampling (fewer 'flat' cells); GeoPackage primary key reused on
re-save (no extra gpkg_fid columns); fix export hang of the aspect
layout on QGIS 3.x.
1.1.0 - Analysis frame must contain the plan boundary (auto-expanded
with a warning after drawing / moving / rotating / resizing); only
cells overlapping the plan boundary are generated and computed; aspect
map (hollow 8-direction arrow point layer) with its own print layout
and PDF/PNG export; button renamed to 產出坵塊並計算坡度及坡向; 'all local layers'
option removed (results, inputs and memory layers are saved).
1.0.1 - Fix saving when "all local layers" is checked: rasters stored
inside a GeoPackage (e.g. after a previous save) are opened with their
full source; Float64/Int32 single-band rasters are converted to
Float32; multiband rasters GeoPackage cannot hold, and layers that
fail, are reported and kept linked instead of aborting; fid /
case-duplicate field clashes handled.
1.0.0 - First public release: contour / DEM input, interactive rotated
frame, 10/25 m cells, edge intersection counts, slope percent, angle,
grade, aspect, print layout, save project to an output folder (.qgz +
.gpkg). Supports QGIS 3.22 – 4.99 (Qt5 / Qt6).

yes

yoshihuang

2026-11-15T02:19:56.912590+00:00

3.22.0

4.99.0

None

no

Version management

Plugin details