Skip to content

Commit

Permalink
update gdal
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Sep 10, 2024
1 parent 2c29c63 commit f152cd4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions agrolib/gdalHandler/gdalShapeFunctions.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <QFileInfo>
#include <string.h>
#include <iostream>

#include "gdalShapeFunctions.h"
#include "gdalRasterFunctions.h"
Expand Down Expand Up @@ -129,8 +130,8 @@ bool gdalShapeToRaster(QString shapeFileName, QString shapeField, QString resolu
{
if (! gdalExportPng(inputDataset, pngFileName, pngProjection, errorStr))
{
qDebug() << "ERROR: failed to write" << pngFileName;
qDebug() << errorStr;
std::cout << "ERROR: failed to write" << pngFileName.toStdString();
std::cout << errorStr.toStdString();
errorStr = "";
}
}
Expand Down

0 comments on commit f152cd4

Please sign in to comment.