Skip to content
Snippets Groups Projects
Commit 19d66737 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix empty output projRef

parent bae78ab0
Branches
Tags
No related merge requests found
......@@ -26,6 +26,7 @@
#include "otbGeometriesSet.h"
#include "otbImage.h"
#include "otbImageFileReader.h"
#include "otbGeoInformationConversion.h"
/*===========================================================================*/
/*==============================[ other stuff ]==============================*/
......@@ -55,6 +56,7 @@ int otbGeometriesProjectionFilterFromMapToGeo(int argc, char* argv[])
GeometriesFilterType::Pointer filter = GeometriesFilterType::New();
filter->SetInput(in_set);
filter->SetOutput(out_set);
filter->SetOutputProjectionRef(otb::GeoInformationConversion::ToWKT(4326));
filter->Update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment