mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Required changes resolved
This commit is contained in:
parent
3db70e6bea
commit
29310a2305
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user