Required changes resolved

This commit is contained in:
doinachiroiu 2020-09-24 14:38:52 +00:00
parent 3db70e6bea
commit 29310a2305

View File

@ -106,7 +106,7 @@ absl::Status GdalMain(std::string filename) {
// If GDALGetGeoTransform generates an error. // If GDALGetGeoTransform generates an error.
if (err != CE_None) { if (err != CE_None) {
return absl::CancelledError(); return absl::InternalError("GDAL rasterisation failed.");
} }
LOG(INFO) << "Origin = (" << adf_geo_transform[0] << ", " LOG(INFO) << "Origin = (" << adf_geo_transform[0] << ", "
@ -152,7 +152,7 @@ absl::Status GdalMain(std::string filename) {
// If GDALRasterIO generates an error. // If GDALRasterIO generates an error.
if (err != CE_None) { if (err != CE_None) {
return absl::CancelledError(); return absl::InternalError("GDAL rasterisation failed.");
} }
std::cout << "Raster data info: " << raster_data_array.ToString() std::cout << "Raster data info: " << raster_data_array.ToString()