Commit fa883c0b authored by Julien Osman's avatar Julien Osman
Browse files

ENH: Read NumberOfLines and NumberOfColumns from geom files for terrasar

parent 8b32a001
...@@ -8,6 +8,8 @@ TileHintX 15328 ...@@ -8,6 +8,8 @@ TileHintX 15328
TileHintY 1 TileHintY 1
DataType 11 DataType 11
OrbitNumber 4091 OrbitNumber 4091
NumberOfLines 32710
NumberOfColumns 15328
CalScale 1.04345e-05 CalScale 1.04345e-05
CalFactor 1.04345e-05 CalFactor 1.04345e-05
PRF 3832.52 PRF 3832.52
......
...@@ -1202,6 +1202,8 @@ void TerraSarImageMetadataInterface::ParseGeom(ImageMetadata & imd) ...@@ -1202,6 +1202,8 @@ void TerraSarImageMetadataInterface::ParseGeom(ImageMetadata & imd)
Fetch(MDNum::CalFactor, imd, "calibration.calibrationConstant.calFactor"); Fetch(MDNum::CalFactor, imd, "calibration.calibrationConstant.calFactor");
Fetch(MDNum::CalScale, imd, "calibration.calibrationConstant.calFactor"); Fetch(MDNum::CalScale, imd, "calibration.calibrationConstant.calFactor");
Fetch(MDStr::Polarization, imd, "acquisitionInfo.polarisationList[0]"); Fetch(MDStr::Polarization, imd, "acquisitionInfo.polarisationList[0]");
Fetch(MDNum::NumberOfLines, imd, "number_lines");
Fetch(MDNum::NumberOfColumns, imd, "number_samples");
// Main XML file // Main XML file
std::string MainFilePath = ExtractXMLFiles::GetResourceFile(itksys::SystemTools::GetFilenamePath(m_MetadataSupplierInterface->GetResourceFile("")), std::string MainFilePath = ExtractXMLFiles::GetResourceFile(itksys::SystemTools::GetFilenamePath(m_MetadataSupplierInterface->GetResourceFile("")),
......
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