Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion crates/analysis/src/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ pub static TOOLS: &[ToolSpec] = &[
id: "checkDem",
name: "Check DEM",
toolbox: "Analysis › Terrain",
summary: "Finds steps (seams, voids filled at another level, reservoir edges), spikes and pits in an elevation model, as points with a summary; it changes nothing.",
summary: "Finds steps (seams, voids filled at another level, reservoir edges), spikes, pits and runs of values no elevation has in an elevation model, as points with a summary; it changes nothing.",
params: &[
P {
name: "input",
Expand Down Expand Up @@ -1176,6 +1176,30 @@ pub static TOOLS: &[ToolSpec] = &[
default: "30",
help: "A cell this far above the median of its eight neighbours is a spike, this far below a pit.",
},
P {
name: "lowest",
label: "Lowest Elevation",
kind: K::Number,
required: false,
default: "-500",
help: "Values below this are out of range (a no-data such as -32768 or -9999 the file doesn't declare).",
},
P {
name: "highest",
label: "Highest Elevation",
kind: K::Number,
required: false,
default: "9000",
help: "Values above this are out of range.",
},
P {
name: "runLength",
label: "Flat Run Length",
kind: K::Number,
required: false,
default: "100",
help: "A run of this many cells along a row holding the band's lowest or highest value is a flat run: an undeclared no-data, or water held level at the edge of the range.",
},
P { name: "output", label: "Output Name", kind: K::Text, required: false, default: "", help: "Output point layer name." },
],
run: check_dem::run,
Expand Down
Loading
Loading