<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hi,</div><div>I would do a bug report <a href="https://trac.osgeo.org/gdal">https://trac.osgeo.org/gdal</a>.  Have you tried fixing the geometry before exporting?  The problem could be in the tab file.  You could try to save in another format to see if the error is also reproduced.</div><div>Nicolas</div><div><br></div><div><br>Le 19 avr. 2018 à 10:05, Richard McDonnell <<a href="mailto:richard.mcdonnell@opw.ie">richard.mcdonnell@opw.ie</a>> a écrit :<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  
  
    Afternoon all,<br>
    I have a slight issue, there are a number of MapInfo Tab Files which
    we want to convert to Shapefile, but they do not convert correctly.<br>
    The issue arises with Rings/Holes in the Polygons, when you save the
    TAB file as a shapefile, some of them are not displaying correct,
    they overlay the hole as another polygon.<br>
    The issue seems to be related to the direction the hole was
    digitised/generated to. The issue can also be replicated outside of
    QGIS by running ogr2ogr, so it seems to be a GDAL/OGR ESRI Shapefile
    Driver issue.<br>
    Now in saying all that, QGIS 3 seems to be able to fix the issue by
    running, <i><b>Fix geometries  </b></i>from the Processing
    Toolbox.<br>
    My question is, Is there a way to fix the OGR Driver to fix the
    issue, or a tick box under <i><b>Save Vector Layer as... </b></i>to
    run/implament the <i><b>Fix geometries </b></i>tool as part of the
    save process?<br>
    This is an issue, which pops up regularly online, with no solution
    to date.<br>
    Regards & Thanks in advance.<br>
    <br>
    Richard McDonnell<br>
  
<p>
<a href="http://www.opw.ie/"><img src="http://www.opw.ie/en/media/opw-logo-december-2016.gif" width="405" height="225"></a>
</p>
<br><br>Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>



</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br><span>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br><span>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div></blockquote></body></html>