Esri / Esri/OptimizeRasters

OptimizeRasters removes pose metadata from converted files

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
139
Forks
50
PR merge metrics
No merged PRs in 30d

Description

I am using OptimizeRasters to convert imagery for an Orientated Imagery Catalog to cog and tif format to allow for the use of the [Image Gallery Carousel](https://doc.esri.com/en/arcgis-pro/latest/help/data/imagery/oriented-imagery-viewer.html#D8F) in ArcGIS Pro and Enterprise 12.1 Experience Builder OIC Plugin. However, I noticed that the pose metadata is removed from the imagery on conversion to a cog or mrf file. Is it possible to include an option to maintain metadata on conversion?

I've attached a version of the original jpg and output cog. Please let me know if the imagery below doesn't include additional attributes and I'll figure out how to send through sample data another way.

[DJI_20260820122726_0001_SUPR.tif](https://github.com/user-attachments/files/31498840/DJI_20260820122726_0001_SUPR.tif)
Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the attached source TIF and converted COG metadata, focusing on the pose attributes used by the Orientated Imagery Catalog. Trace the Python conversion path for COG and MRF outputs to find where metadata is discarded, then verify that the relevant pose metadata is retained in both output formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.