<div dir="ltr">Hello everyone,<div><br></div><div>We're facing some issues working with ogr2ogr in the 3.5.1 version, as we've found a dataset that provokes the following error during the execution of the following command:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ogr2ogr -f CSV -skipfailures -makevalid /vsistdout/ CSV:munic_s_anonymized.csv -simplify 0.00001 -dim XY -t_srs EPSG:4326 -lco GEOMETRY=AS_WKT -lco GEOMETRY_NAME=geom -lco CREATE_CSVT=YES > test.csv</blockquote><div><br></div><div>The error that is thrown by ogr2ogr is the following one:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ERROR 1: Maximum number of characters allowed reached.</blockquote><div><br></div><div>And when it appears, the process stops processing data. We've been able to launch the process without any issue on GDAL 3.2.2, so we don't know if something has changes or if it's an unexpected behaviour. Have you seen a similar error in the latest versions of GDAL?</div><div><br></div><div>If you want to reproduce it there is a <a href="https://drive.google.com/file/d/1nG1kHqG6bLXBV_aOaPreDW4674ufdNjy/view?usp=sharing">link to the file</a> that provoked this error.</div><div><br></div><div>Thanks so much in advance,</div><div>Kind regards.  </div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
        <strong>Moises Calzado</strong>
    <p style="margin-bottom:4px;margin-top:4px">
    Support Engineer
    </p>
    <p style="margin-bottom:20px;margin-top:4px">
    (US) +1 917 463 3232 | (ES) +34 911 165 823 |    <a href="mailto:mcalzado@carto.com" target="_blank">mcalzado@carto.com</a>
    </p>
    
                
                <a href="https://spatial-data-science-conference.com/2022/newyork/" rel="nofollow" target="_blank">
                <img src="https://storage.googleapis.com/carto-it-files/signature/SDSC-2022-NY_Signature-mini.jpg" height="50" width="516.656px">
                </a>
                
    
        </div></div></div>