Commit 16323aad authored by Cédric Traizet's avatar Cédric Traizet
Browse files

REFAC: add a gcp struct in output metadatas for Cosmo products

parent edc060cf
......@@ -469,6 +469,13 @@ void CosmoImageMetadataInterface::ParseGdal(ImageMetadata & imd)
imd.Add(MDGeom::SAR, sarParam);
// TODO: compute a GCP at the center of scene using the inverse sar model like it is done in ossim plugins
// This require to move IMIs to another higher level module that depends on OTBTransform (which depends
// on OTBMetadata) so that SarSensorModel can be used. (this cannot be done while IMIs still depend on Ossim)
Projection::GCPParam gcp;
imd.Add(MDGeom::GCP, gcp);
SARCalib sarCalib;
LoadRadiometricCalibrationData(sarCalib, *m_MetadataSupplierInterface, imd);
imd.Add(MDGeom::SARCalib, sarCalib);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment