Skip to content

Commit

Permalink
not just vector
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Jun 10, 2024
1 parent c9dbfa5 commit a6e62ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/gdallibrary/gdallibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ inline CharacterVector gdal_driver(CharacterVector dsn)
{

GDALDataset *poDS;
poDS = (GDALDataset*) GDALOpenEx(dsn[0], GDAL_OF_READONLY | GDAL_OF_VECTOR, NULL, NULL, NULL ); // gdal_driver(<any-type>)
poDS = (GDALDataset*) GDALOpenEx(dsn[0], GDAL_OF_READONLY , NULL, NULL, NULL ); // gdal_driver(<any-type>)
if( poDS == NULL )
{
Rcpp::stop("Open failed.\n");
Expand Down

0 comments on commit a6e62ef

Please sign in to comment.