Skip to content

Commit

Permalink
nocom
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 9, 2024
1 parent 5b7ab4a commit 3b79e25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/read_ogr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include "string_utils.h"


#include "Rcpp.h"

std::string geomType(OGRLayer *poLayer) {
std::string s = "";
poLayer->ResetReading();
Expand Down Expand Up @@ -62,8 +60,8 @@ SpatDataFrame readAttributes(OGRLayer *poLayer, bool as_proxy) {
poFieldDefn = poFDefn->GetFieldDefn(i);
std::string fname = poFieldDefn->GetNameRef();
ft = poFieldDefn->GetType();
// OFTInteger64 may be too large
if ((ft == OFTReal) || (ft == OFTInteger64)) {
Rcpp::Rcout << fname << std::endl;
dtype = 0;
} else if ((ft == OFTInteger)) {
if (poFieldDefn->GetSubType() == OFSTBoolean) {
Expand Down

0 comments on commit 3b79e25

Please sign in to comment.