Skip to content

Commit

Permalink
enough
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Jun 14, 2024
1 parent 95af158 commit f10c506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/00_warpgeneral.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ gdal_raster_dsn <- function(dsn, target_crs = NULL, target_dim = NULL, target_ex
bands <- -1
}
include_meta <- isTRUE(include_meta)

warp_general_cpp(dsn, target_crs,
target_ext,
target_dim,
Expand Down
2 changes: 1 addition & 1 deletion inst/include/gdalwarpgeneral/gdalwarpgeneral.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ inline List gdal_warp_general(CharacterVector dsn,


for (int si = 0; si < dsn.size(); si++) {
GDALReleaseDataset( (GDALDataset *)src_ds[si] );
GDALClose( src_ds[si] );
}
// CPLFree(poSrcDS);

Expand Down

0 comments on commit f10c506

Please sign in to comment.