Heterogeneous CRS mosaic composes output with erroenous image positioning and scaling

Description

Multiple issues found:

  • The GranuleDescritpor is in some paths getting no notice that the mosaic is heterogeneous

  • GranuleDescriptor image positioning via affine transform performs math in the target mosaic CRS instead of the granule one, building a grid to world for the granule that just uses the bbox in target CRS and the raster size

  • The reprojection machinery georeferences each single CRS mosaic assuming its bbox is the union of all granules footprints, but the read normally only reads part of a granule (this results in heavy image stretching if only a small portion of the image is displaying)

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure