Skip to content

Add fly_thumb_georef for thumbnail georeferencing#18

Merged
NewGraphEnvironment merged 1 commit intomainfrom
issue-16-thumb-georef
Mar 11, 2026
Merged

Add fly_thumb_georef for thumbnail georeferencing#18
NewGraphEnvironment merged 1 commit intomainfrom
issue-16-thumb-georef

Conversation

@NewGraphEnvironment
Copy link
Copy Markdown
Owner

Summary

  • Add fly_thumb_georef() — warps downloaded thumbnail JPGs to their estimated ground footprint using GDAL GCPs, producing georeferenced GeoTIFFs in BC Albers (EPSG:3005)
  • No new dependencies — uses sf::gdal_utils() (translate with GCPs + warp)
  • 6 new tests covering output columns, CRS verification, failed fetch handling, overwrite skip, input validation, and extent matching
  • Vignette section showing the 3-line fetch → georef workflow

Fixes #16
Relates to NewGraphEnvironment/sred-2025-2026#17

Test plan

  • devtools::test() — 95 tests pass
  • Vignette builds with georef section
  • Georeferenced TIFFs verified in QGIS — land correctly on Upper Bulkley River floodplain
  • All 20 test photos georef successfully

🤖 Generated with Claude Code

Warps downloaded thumbnail JPGs to their estimated ground footprint
using GDAL GCPs. Produces georeferenced GeoTIFFs in BC Albers (3005).
No new dependencies — uses sf::gdal_utils().

Fixes #16

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NewGraphEnvironment NewGraphEnvironment merged commit d937d4b into main Mar 11, 2026
1 check passed
@NewGraphEnvironment NewGraphEnvironment deleted the issue-16-thumb-georef branch March 11, 2026 04:06
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.

Georeference downloaded thumbnails to footprint polygons

1 participant