Skip to content

feat(geotiff): parse COG data_bounds from GDAL metadata - #6

Open
hoetmaaiers wants to merge 2 commits into
developfrom
feat/data-bounds-4326
Open

hoetmaaiers wants to merge 2 commits into
developfrom
feat/data-bounds-4326

Conversation

@hoetmaaiers

@hoetmaaiers hoetmaaiers commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Parse GDAL metadata Items data_bounds (EPSG:3857) and data_bounds_4326 (WGS84) from GeoTIFF GDALMetadata XML.
  • Expose them on GeoTiffMetadata and WebTileInfo so WASM/map clients can fit valid data instead of the GoogleMapsCompatible file envelope.

Re-opened after an accidental merge (merge was reverted on develop).

Test plan

  • Unit tests in gdalmetadata.rs for both tags
  • Load a UrbClim COG with data_bounds_4326 and confirm WebTileInfo / WASM consumers see the AABB

hoetmaaiers and others added 2 commits October 2, 2026 14:37
Expose data_bounds and data_bounds_4326 from GDALMetadata XML Items onto
GeoTiffMetadata and WebTileInfo so consumers can fit to valid data instead
of the GoogleMapsCompatible file envelope.

Co-authored-by: Cursor <cursoragent@cursor.com>
… in AABB bounds'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@hoetmaaiers

Copy link
Copy Markdown
Contributor Author

Sorry, the previous #5 was to eager.

This branch has not been deployed

No deployments
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