Skip to content
Snippets Groups Projects
Commit c153cffa authored by Julien Michel's avatar Julien Michel
Browse files

MRG

parents 4caa846f cdf7043b
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,11 @@ int otbGenericRSResampleImageFilter(int argc, char* argv[])
SizeType size;
size.Fill(isize);
//
OriginType origin;
origin.Fill(1500);
origin[0] = 367340;
origin[1] = 4.83467e+06;
// Build the ouput projection ref : Lambert II ref
OGRSpatialReference oSRS;
......@@ -101,7 +104,7 @@ int otbGenericRSResampleImageFilter(int argc, char* argv[])
// Write the resampled image
typedef otb::StreamingImageFileWriter<ImageType> WriterType;
WriterType::Pointer writer= WriterType::New();
writer->SetTilingStreamDivisions();
writer->SetTilingStreamDivisions(4);
writer->WriteGeomFileOn();
writer->SetFileName(outfname);
writer->SetInput(resampler->GetOutput());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment