Skip to content

Commit

Permalink
IDK
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Jun 14, 2024
1 parent a5ecc13 commit 95af158
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inst/include/gdalwarpgeneral/gdalwarpgeneral.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ inline List gdal_warp_general(CharacterVector dsn,

IntegerVector sds0 = IntegerVector::create(0);
for (int i = 0; i < dsn.size(); i++) {
GDALDatasetH hDS = GDALOpenShared(dsn[i], GA_ReadOnly);
GDALDatasetH hDS = GDALOpen(dsn[i], GA_ReadOnly);
//src_ds[i] = gdalraster::gdalH_open_dsn(dsn[i], sds0);
// unwind everything, and stop (why not unwind if all are null, message how many succeed)
if (hDS == nullptr) {
Expand Down Expand Up @@ -181,7 +181,8 @@ inline List gdal_warp_general(CharacterVector dsn,
}


auto psOptions = GDALWarpAppOptionsNew(papszArg, nullptr);
GDALWarpAppOptions* psOptions = GDALWarpAppOptionsNew(papszArg, nullptr);

CSLDestroy(papszArg);

GDALWarpAppOptionsSetProgress(psOptions, NULL, NULL );
Expand Down

0 comments on commit 95af158

Please sign in to comment.