Skip to content
Snippets Groups Projects
Commit bae9136f authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : add sensorID in the kwl

parent 980ea902
No related branches found
No related tags found
No related merge requests found
...@@ -1337,6 +1337,12 @@ bool ossimSpotDimapSupportData::saveState(ossimKeywordlist& kwl, ...@@ -1337,6 +1337,12 @@ bool ossimSpotDimapSupportData::saveState(ossimKeywordlist& kwl,
theLlCorner.datum()->code(), theLlCorner.datum()->code(),
true); true);
kwl.add(prefix,
"sensorID",
theSensorID,
true);
tempString = ""; tempString = "";
for(idx = 0; idx < thePhysicalBias.size(); ++idx) for(idx = 0; idx < thePhysicalBias.size(); ++idx)
{ {
...@@ -1536,6 +1542,7 @@ bool ossimSpotDimapSupportData::loadState(const ossimKeywordlist& kwl, ...@@ -1536,6 +1542,7 @@ bool ossimSpotDimapSupportData::loadState(const ossimKeywordlist& kwl,
theLrCorner =createGround( kwl.find(prefix, "lr_ground_point")); theLrCorner =createGround( kwl.find(prefix, "lr_ground_point"));
theLlCorner =createGround( kwl.find(prefix, "ll_ground_point")); theLlCorner =createGround( kwl.find(prefix, "ll_ground_point"));
theSensorID = ossimString(kwl.find(prefix, "sensorID"));
thePhysicalBias.resize(theNumBands); thePhysicalBias.resize(theNumBands);
tempString = kwl.find(prefix,"physical_bias"); tempString = kwl.find(prefix,"physical_bias");
......
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