Skip to content
Snippets Groups Projects
Commit 04ba574e authored by Cédric Traizet's avatar Cédric Traizet
Browse files

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 orfeotoolbox/otb!694
parents 8ee302a3 a62d1a58
No related branches found
No related tags found
No related merge requests found
......@@ -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]) +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment