Commit 04ba574e authored by Cédric Traizet's avatar Cédric Traizet

Merge branch 'Cosmo_correctMetadata' into 'develop'

Update ul_lon/lat, ur_lon/lat, lr_lon/lat and ll_lon/lat for CosmoSkymed Sensor

See merge request !694
parents 8ee302a3 a62d1a58
Pipeline #3931 passed with stages
in 48 minutes and 16 seconds
......@@ -505,7 +505,16 @@ namespace ossimplugins
std::vector<std::string> vGeoCoor_BR;
otb::Utils::ConvertStringToVector(geoCoor_BR, vGeoCoor_BR, "S01_SBI_Bottom_Right_Geodetic_Coordinates", " ");
///// Add Corner into the keywordlist ////
add(theProductKwl, "ul_lat", vGeoCoor_TL[0]);
add(theProductKwl, "ul_lon", vGeoCoor_TL[1]);
add(theProductKwl, "ur_lat", vGeoCoor_TR[0]);
add(theProductKwl, "ur_lon", vGeoCoor_TR[1]);
add(theProductKwl, "ll_lat", vGeoCoor_BL[0]);
add(theProductKwl, "ll_lon", vGeoCoor_BL[1]);
add(theProductKwl, "lr_lat", vGeoCoor_BR[0]);
add(theProductKwl, "lr_lon", vGeoCoor_BR[1]);
// Mean
std::vector<double> vGeoCoor_Mean;
vGeoCoor_Mean.push_back((std::stod(vGeoCoor_TL[0]) + std::stod(vGeoCoor_TR[0]) + std::stod(vGeoCoor_BL[0]) +
......
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