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

ENH : code simplication in IMI test2

parent dc0aad9b
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ int otbImageMetadataInterfaceTest2 (int argc, char* argv[])
//Test the image interface
lImageMetadata->SetImage(reader->GetOutput());
file<< lImageMetadata->GetProjectionRef(reader->GetOutput()->GetMetaDataDictionary()) << std::endl;
file<< lImageMetadata->GetProjectionRef() << std::endl;
file.close();
return EXIT_SUCCESS;
......
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