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

BUG: use the right metadata in GCP test

parent 7fc2a2f9
Pipeline #9041 passed with stages
in 79 minutes and 51 seconds
......@@ -778,7 +778,7 @@ void TerraSarXSarImageMetadataInterface::ParseGeom(ImageMetadata & imd)
SARParam sarParam;
// Fetch the GCP
if (imd[MDStr::SensorID].find("SSC") != std::string::npos)
if (imd[MDStr::ProductType].find("SSC") != std::string::npos)
{
ReadGeorefGCP(MetaData::ReadFormattedDate(MainXMLFileMS.GetAs<std::string>("level1Product.productInfo.sceneInfo.start.timeUTC")),
itksys::SystemTools::GetParentDirectory(MainFilePath) + "/ANNOTATION/GEOREF.xml",
......
Supports Markdown
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