diff --git a/Modules/Core/Metadata/src/otbImageMetadata.cxx b/Modules/Core/Metadata/src/otbImageMetadata.cxx index d7f1abc84162252ef84edc8bf409173c1336710d..de4c724fbbf4530a527c49da9e109440c1c345a7 100644 --- a/Modules/Core/Metadata/src/otbImageMetadata.cxx +++ b/Modules/Core/Metadata/src/otbImageMetadata.cxx @@ -253,7 +253,11 @@ void ImageMetadataBase::ToKeywordlist(Keywordlist& kwl) const // Projection::GCPParam gcpStruct = boost::any_cast<Projection::GCPParam>(kv.second); // cast_string << gcpStruct; } - // TODO : MDGeom::SensorGeometry (should be exported as "<typeinfo>" where typeinfo is boost::any::type().name() + else if (kv.first == MDGeom::SensorGeometry) + { + // MDGeom::SensorGeometry should be exported as "<typeinfo>" where typeinfo is boost::any::type().name() + oss << kv.second.type().name(); + } // TODO : MDGeom::SAR // TODO : MDGeom::Adjustment else