We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71dee0e commit 4a6321aCopy full SHA for 4a6321a
src/gdal_read_stream.cpp
@@ -79,7 +79,7 @@ Rcpp::List CPL_read_gdal_stream(
79
bool dsn_isdb,
80
Rcpp::CharacterVector fid_column,
81
int width) {
82
-
+
83
const char* array_stream_options[] = {"INCLUDE_FID=NO", nullptr};
84
if (fid_column.size() == 1) {
85
array_stream_options[0] = "INCLUDE_FID=YES";
@@ -89,7 +89,6 @@ Rcpp::List CPL_read_gdal_stream(
89
quiet, drivers,
90
wkt_filter,
91
dsn_exists, dsn_isdb, width);
92
- OGRDataSource* poDS = (OGRDataSource*)(R_ExternalPtrAddr(prep[0]));
93
OGRLayer* poLayer = (OGRLayer*)R_ExternalPtrAddr(prep[1]);
94
auto stream_out = reinterpret_cast<struct ArrowArrayStream*>(
95
R_ExternalPtrAddr(stream_xptr));
0 commit comments