Skip to content

Add dft_rast_transition() for land cover change detection#5

Merged
NewGraphEnvironment merged 3 commits intomainfrom
4-rast-transition
Mar 7, 2026
Merged

Add dft_rast_transition() for land cover change detection#5
NewGraphEnvironment merged 3 commits intomainfrom
4-rast-transition

Conversation

@NewGraphEnvironment
Copy link
Owner

Summary

  • Add dft_rast_transition() for cell-by-cell land cover change detection
  • Returns transition raster (factor with "from -> to" labels) + summary tibble
  • Optional from_class/to_class filters for targeted transitions (e.g., Trees → Agriculture)
  • 12 tests, 20 expectations, all passing (120 total suite)

Relates to NewGraphEnvironment/sred-2025-2026#4

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

NewGraphEnvironment and others added 3 commits March 7, 2026 10:11
Compare two classified rasters and return a transition raster (factor
with "from -> to" labels) plus a summary tibble. Optional from_class
and to_class filters focus on specific transitions of interest.

Fixes #4

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Show all-transitions table, filtered tree loss, transition raster plot,
and multi-layer interactive map with toggleable per-transition layers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Default basemaps now include Google Satellite tiles alongside Esri and
CartoDB. Tile URL templates (http) are handled via addTiles(), provider
names via addProviderTiles(). Updated vignette transition map to match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NewGraphEnvironment NewGraphEnvironment merged commit 8befea2 into main Mar 7, 2026
1 check passed
@NewGraphEnvironment NewGraphEnvironment deleted the 4-rast-transition branch March 7, 2026 18:45
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