<div dir="ltr"><div>Hi,</div><div><br></div><div>
<div>When reading xlsx files that contains a lot of lines gdal reports the following error multiple times:</div><div>| Adding too many columns to too many existing features</div><div><br></div><div>It comes from the the xlsx driver:</div><div>GIntBig nFeatureCount = poCurLayer->GetFeatureCount(false);<br>if( nFeatureCount > 0 &&<br> static_cast<size_t>(apoCurLineValues.size() -<br> poCurLayer->GetLayerDefn()->GetFieldCount()) ><br> static_cast<size_t>(100000 / nFeatureCount) )<br>{<br> CPLError(CE_Failure, CPLE_NotSupported,<br> "Adding too many columns to too many "<br> "existing features");<br> return;<br>}</div><div><br></div><div>The featureCount in my case is 128741</div><div>apoCurLineValues.size() = 8</div><div>fieldCount = 7<br></div><div><br></div><div>Why is this error reported? Does it impact the actual read data?</div><div>I do notice when I open the file in excel and select everything, the eight column in the file is empty but also gets selected.<br></div><div><br></div><div>Kind regards,</div><div>Dirk</div>
</div></div>