<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm getting a "tolerance condition error" when trying to reproject Natural Earth data into webmercator 3857 using ogr2ogr. <br></div><div><br></div><div>These are the commands I am running</div><div><br></div><div>```</div><div>wget <a href="https://naturalearth.s3.amazonaws.com/10m_physical/ne_10m_ocean.zip" target="_blank">https://naturalearth.s3.amazonaws.com/10m_physical/ne_10m_ocean.zip</a></div><div>unzip ne_10m_ocean.zip</div><div><br></div><div>// reproject the unzipped shape file<br></div><div>OGR_ENABLE_PARTIAL_REPROJECTION=true
 ogr2ogr -unsetFieldWidth -t_srs EPSG:3857 -nlt PROMOTE_TO_MULTI -f 
PostgreSQL PG:"dbname='ogr' host='localhost' port='5432' 
user='myusername password='redacted'" ne_10m_ocean.shp</div><div>```</div><div><br></div><div>This results in the following output <br></div><div><br></div><div>```</div><div>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: tolerance condition error<br>ERROR 1: Reprojection failed, err = -20, further errors will be suppressed on the transform object.</div><div>```</div><div><br></div><div>I'm sure this used to run fine a few months ago so I'm not sure why it is suddenly breaking. <br></div><div><br></div><div>This happens on both my arm Mac and my Intel server instance.</div><div><br></div><div>Server instance:</div><div>EC2 M5 Intel with Ubuntu 20.04.3 LTS</div><div>GDAL 3.3.2, released 2021/09/01</div><div><br></div><div>Mac <br></div><div>M1 Arm Mac Big Sur 11.6 <br></div><div>GDAL 3.3.3, released 2021/10/25</div><div><br></div><div>Is this or a bug or am I incorrectly using the command? Any help will be greatly appreciated. <br></div><font color="#888888"><div><br></div><div>Adam</div></font></div>