Commit 472c3bf5 authored by Julien Michel's avatar Julien Michel

BUG: Fixing #794

parent 6eba1808
...@@ -165,6 +165,8 @@ private: ...@@ -165,6 +165,8 @@ private:
{ {
for(unsigned int row = 0; row < nbTilesY; ++row) for(unsigned int row = 0; row < nbTilesY; ++row)
{ {
std::cout<<"Row: "<<row<<", column: "<<column<<std::endl;
ofs<<"\t\t<SimpleSource>"<<std::endl; ofs<<"\t\t<SimpleSource>"<<std::endl;
ofs<<"\t\t\t<SourceFilename relativeToVRT=\"1\">"<<CreateFileName(row,column,"FINAL")<<"</SourceFilename>"<<std::endl; ofs<<"\t\t\t<SourceFilename relativeToVRT=\"1\">"<<CreateFileName(row,column,"FINAL")<<"</SourceFilename>"<<std::endl;
ofs<<"\t\t\t<SourceBand>1</SourceBand>"<<std::endl; ofs<<"\t\t\t<SourceBand>1</SourceBand>"<<std::endl;
...@@ -633,7 +635,7 @@ private: ...@@ -633,7 +635,7 @@ private:
// Here we write a temporary vrt file that will be used to // Here we write a temporary vrt file that will be used to
// stitch together all the tiles // stitch together all the tiles
std::string vrtfile = WriteVRTFile(nbTilesY,nbTilesY,sizeTilesX,sizeTilesY,sizeImageX,sizeImageY); std::string vrtfile = WriteVRTFile(nbTilesX,nbTilesY,sizeTilesX,sizeTilesY,sizeImageX,sizeImageY);
m_FilesToRemoveAfterExecute.push_back(vrtfile); m_FilesToRemoveAfterExecute.push_back(vrtfile);
......
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