Skip to content

Conversation

@Kcheung42
Copy link
Collaborator

@Kcheung42 Kcheung42 commented Dec 15, 2025

Purpose

  1. Ensure there is now two slope outputs, one for degrees and one for percent.
  2. Ensure updating units system does not change these units

Make sure to also review PR on behave-mirror firelab/behave#58

Related Issues

Closes BHP1-1474

Submission Checklist

  • Included Jira issue in the PR title (e.g. BHP1-### <title>)
  • Code passes linter rules (clj-kondo --lint components/**/src bases/**/src projects/**/src)
  • Feature(s) work when compiled (clojure -M:compile-cljs)

Testing

  1. Open local VMS and run migration migrations.2025-12-15-update-slope-tool
  2. Open local App and sync
  3. Open "Slope From Map Measurement Tool"
  4. Ensure there are now 2 slope outputs, one for "%" hand one for "deg"
  5. Change "Units System" and ensure slope units do not change
  6. Add these values and compute:
  • Contour interval: 10 ft
  • Map Distance: 2
  • Number of Contour Intervals: 3
  • Map Representative Fraction: 4000

Results:

Slope: 5 %
Slope: 3 deg

Screenshots

@rjsheperd
Copy link
Contributor

LGTM 👍

@rjsheperd rjsheperd merged commit 6f5c608 into main Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants