Commit 1dfd3a0f authored by Antoine Regimbeau's avatar Antoine Regimbeau

TEST: fix prTvGeometriesProjectionFilterFromMapToGeo test

parent 2a60ea19
Pipeline #510 passed with stage
in 25 minutes and 23 seconds
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "otbGeometriesSet.h" #include "otbGeometriesSet.h"
#include "otbImage.h" #include "otbImage.h"
#include "otbImageFileReader.h" #include "otbImageFileReader.h"
// #include "otbSpatialReference.h"
/*===========================================================================*/ /*===========================================================================*/
/*==============================[ other stuff ]==============================*/ /*==============================[ other stuff ]==============================*/
...@@ -56,6 +57,8 @@ int otbGeometriesProjectionFilterFromMapToGeo(int argc, char* argv[]) ...@@ -56,6 +57,8 @@ int otbGeometriesProjectionFilterFromMapToGeo(int argc, char* argv[])
filter->SetInput(in_set); filter->SetInput(in_set);
filter->SetOutput(out_set); filter->SetOutput(out_set);
filter->SetOutputProjectionRef(otb::SpatialReference::FromWGS84().ToWkt());
filter->Update(); filter->Update();
return EXIT_SUCCESS; return EXIT_SUCCESS;
......
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