From 4267592c2e6352358875396a87f30e1f91295fb3 Mon Sep 17 00:00:00 2001 From: remi Date: Wed, 24 Apr 2019 11:46:20 +0200 Subject: [PATCH] ENH: 64bits int type supported as class field value --- app/otbDensePolygonClassStatistics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/otbDensePolygonClassStatistics.cxx b/app/otbDensePolygonClassStatistics.cxx index 5b285a1..bf43d15 100644 --- a/app/otbDensePolygonClassStatistics.cxx +++ b/app/otbDensePolygonClassStatistics.cxx @@ -139,7 +139,7 @@ private: OGRFieldType fieldType = feature.ogr().GetFieldDefnRef(iField)->GetType(); - if(fieldType == OFTString || fieldType == OFTInteger) + if(fieldType == OFTString || fieldType == OFTInteger || fieldType == OFTInteger64) { std::string tmpKey="field."+key.substr(0, end - key.begin()); AddChoice(tmpKey,item); -- GitLab