Skip to content

feat(ui): highlight the stratigraphic unit on map when clicked in column - #129

Merged
lachlangrose merged 3 commits into
mainfrom
feat/highlight-strat-unit
Oct 7, 2026
Merged

lachlangrose merged 3 commits into
mainfrom
feat/highlight-strat-unit

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

No description provided.

Select a unit row in the stratigraphic column to select the features of
that unit in the units layer, so that QGIS highlights them on the map.
The match uses the unit-name field set under the column. Select an
unconformity row, or clear the selection, to remove the highlight.

Focus on a field of a unit row also selects that row, because clicks on
the row's fields do not reach the list.
Add a button to the stratigraphic column that writes a 'strat_thickness'
field onto the selected units layer. The field holds the thickness of
the matching unit in the column. Features that do not match a unit stay
empty. The layer then gets a graduated renderer with one class for each
thickness value, coloured with the selected colour ramp.

Move the colour ramp lookup into a helper, so that the age and thickness
styling use the same lookup.
@lachlangrose
lachlangrose merged commit 00d8ec4 into main Oct 7, 2026
4 checks passed
@lachlangrose
lachlangrose deleted the feat/highlight-strat-unit branch October 7, 2026 11:52
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.

1 participant