Skip to content
Snippets Groups Projects
Commit c5929c19 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: add keywordList in VectorDataExtractROIExample

parent 18ff3a0c
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,8 @@ int main( int argc, char* argv[] ) ...@@ -95,6 +95,8 @@ int main( int argc, char* argv[] )
otb::ImageMetadataInterface::Pointer imageMetadataInterface = otb::ImageMetadataInterface::New(); otb::ImageMetadataInterface::Pointer imageMetadataInterface = otb::ImageMetadataInterface::New();
region.SetRegionProjection(imageMetadataInterface->GetProjectionRef(imageReader->GetOutput()->GetMetaDataDictionary())); region.SetRegionProjection(imageMetadataInterface->GetProjectionRef(imageReader->GetOutput()->GetMetaDataDictionary()));
region.SetKeywordList(imageReader->GetOutput()->GetImageKeywordlist());
reader->SetFileName(inVectorName); reader->SetFileName(inVectorName);
filter->SetInput(reader->GetOutput()); filter->SetInput(reader->GetOutput());
......
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