Skip to content

Slope Classification Tool

Overview

The Slope Classification Tool analyses terrain slope distribution within a user-defined area. It classifies each pixel of the terrain into slope degree ranges and returns a breakdown of pixel counts and percentages, helping forestry professionals determine whether an area qualifies as "steep country" under regulatory guidelines.

Key Features

  • Flexible Area Definition: Draw custom polygons, select existing polygons from a layer, or use preset box and circle shapes
  • Layer Selection: Choose from any visible polygon layer (Feature Layer or Map Image Layer with polygon sublayers) as a source for area selection
  • Custom Degree Ranges: Toggle custom slope classification ranges with editable min/max degrees and labels
  • Interactive Shape Editing: Resize and reposition analysis areas with transform tools
  • Real-Time Area Display: See the current analysis area in hectares while drawing and editing
  • Proportional Results Table: Slope distribution results with pixel counts, percentages, and proportional bar chart
  • Detailed Report Dialog: Cumulative frequency chart, tabular summary with area calculations, and regulatory definitions
  • Steep Country Classification: Automatic determination based on the 20-degree majority slope threshold (per Forest Practices Code 2020)

How to Use the Slope Classification Tool

Accessing the Tool

Accessing the Tool

  1. Navigate to the Report Tools panel in the right sidebar
  2. Select Slope Classification from the report tools dropdown
  3. The tool panel opens showing layer selection, drawing tools, and analysis options

Tool Panel

Selecting a Source Layer

Selecting a Source Layer

The layer dropdown lists all visible polygon layers on the map. Select a layer to enable the Select from Layer tool, which lets you click on a polygon in that layer to use as your analysis area.

INFO

If no layers appear in the dropdown, ensure at least one polygon layer is visible on the map.

Defining Your Analysis Area

You have four ways to create an analysis area. When a tool is active, a contextual hint appears below the toolbar to guide you (e.g., "Click to add vertices on the map. Double-click or click the first point to finish the polygon.").

Option 1: Select from Layer

  1. Choose a polygon layer from the dropdown
  2. Click the Select from Layer button (cursor icon)
  3. Click on a polygon in the map belonging to that layer
  4. The tool attempts to retrieve the polygon using a multi-step fallback: first a direct hit-test, then a spatial query on the Feature Layer, and finally an identify operation for Map Image Layers
  5. The polygon is highlighted and its area is displayed

Best for: Using existing boundaries such as coupes, cadastre parcels, or management units

Option 2: Draw a Custom Polygon

Selecting a Source Layer

  1. Click the Draw Polygon button (polygon icon)
  2. Click points on the map to define your boundary
  3. Continue clicking to add vertices as needed
  4. Double-click to complete the polygon (or press ESC to cancel)

Best for: Irregular areas, custom boundaries, specific study areas

Option 3: Create a Preset Box

  1. Click the Rectangle button to create a preset box (default size: 50m x 50m)
  2. The box appears centred on your current map view
  3. The shape automatically enters edit mode for immediate adjustment
  4. Resize using corner handles or reposition by dragging (rotation is disabled; aspect ratio is locked)
  5. Maximum dimension is 2000m — a warning appears if exceeded

Best for: Rectangular sample areas, standard plot shapes

Option 4: Create a Preset Circle

  1. Click the Circle button to create a preset circle (default radius: 25m)
  2. The circle appears centred on your current map view
  3. The shape automatically enters edit mode for immediate adjustment
  4. Resize using edge handles or reposition by dragging
  5. Maximum dimension is 2000m — a warning appears if exceeded

Best for: Circular sample plots, radial studies

Editing Your Analysis Area

  1. Click the Edit Geometry button (edit icon) to activate edit mode
  2. For drawn polygons: reshape by moving individual vertices
  3. For preset shapes: use transform handles to resize and move (rotation is disabled)
  4. Click elsewhere on the map or toggle the edit button to finish editing
  5. The area display updates in real time as you edit

WARNING

Preset shapes have a maximum dimension of 2000m. A warning appears if you exceed this limit during editing, and the edit is cancelled.

Custom Degree Ranges

Selecting a Source Layer

By default the tool uses the following slope classification ranges:

RangeMinMaxLabel
111°≤11°
212°19°11°<Slope≤19°
320°26°19°<Slope≤26°
427°35°26°<Slope≤35°
536°99°35°<Slope

To customise:

  1. Toggle the Custom Degree Ranges switch
  2. An editable table appears with columns for Min, Max, and Label
  3. Adjust the degree values and labels as needed
  4. Click the Reset button to restore default ranges

Selecting a Slope Layer

The Slope Layer segmented control lets you choose which slope data source to use for analysis:

  • Slope (default): Uses the primary slope raster (STT:Slope_tiffs)
  • Slope VT: Uses an alternative slope raster (STT:Slope_vt)

Select the appropriate layer before running the analysis.

Running the Analysis

  1. Ensure your analysis area is defined (area displayed in hectares)
  2. Optionally configure custom degree ranges
  3. Click the Analyse button (raster analysis icon)
  4. Wait while the analysis processes (loading indicator appears)
  5. Results display in a card below the tools

Understanding Your Results

Understanding Your Results

The results card shows a table with:

ColumnDescription
LabelThe slope classification range (e.g., "0-10", "10-20")
CountNumber of pixels in that slope range
%Percentage of total pixels in that range

A proportional bar behind each row provides a visual comparison of the distribution. The footer shows the total pixel count.

Slope Report Dialog

View Report

Click the View Report button (chart icon) after analysis to open the detailed Slope Report Dialog. The dialog is resizable and draggable, and contains three tabs:

Chart Tab

Chart Tab

Displays a cumulative frequency curve showing the relationship between slope degrees and the cumulative percentage of pixels:

  • Blue curve: Cumulative frequency line (monotone cubic spline)
  • Red dashed line: 90% threshold — the line at which "majority slope" is evaluated
  • Green dashed line: Majority slope value — the degree at which 90% of pixels are at or below
  • Intersection dot: Where the curve meets the 90% threshold
  • Annotation: Displays the calculated majority slope value in degrees

Table Tab

Table Tab

Shows a tabular breakdown of slope ranges with:

  • Category: Slope classification label
  • %: Percentage of pixels in the range
  • Area (ha): Area in hectares for the range (calculated from pixel count; each pixel represents a 2m x 2m = 4m² cell)

The table footer includes:

  • Total analysed area in hectares
  • Majority slope value in degrees
  • Steep country classification: Yes (highlighted in red) if the majority slope is 20 degrees or above, No otherwise

Definitions Tab

Definitions Tab

Provides regulatory definitions and explanatory notes:

  • Majority slope: The slope value at which 90% of the area (by pixel count) is at or below that gradient
  • Steep country: Defined as terrain where the majority slope is 20 degrees or greater
  • Warning: Notes that boundaries shown are provisional and may differ from final survey boundaries
  • Map Composer note: Directs users to Map Composer for generating printable slope classification reports

Troubleshooting

IssueSolution
Analyse button is disabledDraw or select an analysis area first (area must be > 0 ha)
No layers in dropdownEnsure at least one polygon layer is visible on the map
"No geometry" errorDraw or select an analysis area before clicking Analyse
Analysis fails with errorTry simplifying your polygon or reducing the area size
Edit mode won't activateEnsure an analysis area exists on the map
Size limit exceeded warningReduce preset shape size to within the maximum dimension
Select from layer not respondingEnsure you have selected a layer from the dropdown first
Results seem incorrectVerify analysis area is within DEM data coverage
Report dialog is emptyRun the analysis first, then click View Report

Frequently Asked Questions

Q: What is "majority slope"? A: Majority slope is the slope value at which 90% of the area (measured by pixel count) is at or below that gradient. It is the 90th percentile of the slope distribution within the analysis area.

Q: What defines "steep country"? A: An area is classified as steep country when the majority slope is 20 degrees or greater. This threshold is based on forestry regulatory guidelines.

Q: Can I use Map Image Layer polygons for area selection? A: Yes. The tool supports both Feature Layers and Map Image Layers with polygon sublayers. For Map Image Layers, the tool uses an identify operation to retrieve the polygon geometry when you click on the map.

Q: How accurate is the slope analysis? A: The analysis uses a pre-computed slope raster derived from DTM data, published to GeoServer. Accuracy depends on the resolution and quality of the underlying DTM. The geometry is reprojected to EPSG:28355 for analysis.

Q: Can I change the slope ranges? A: Yes. Toggle the Custom Degree Ranges switch to edit the min/max values and labels for each classification range. Click the Reset button to restore the defaults at any time.

Q: How do I get a printable report? A: Use Map Composer for generating printable slope classification reports. The Slope Report Dialog in Horizon provides an interactive preview of the chart and table data.


Tutorials

How to Use Slope Classification Tool

Horizon Help Documentation