<span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">As far as I know this is a limitation of the MapInfo ogr driver that QGIS uses <a href="http://www.gdal.org/ogr/drv_mitab.html" target="_blank" style="color: rgb(17, 85, 204); ">http://www.gdal.org/ogr/drv_mitab.html</a><div style="position: relative; visibility: visible; background-image: url(chrome-extension://bhmmomiinigofkjcapegjjndpbikblnp/skin/fusion/16_16/plain/r5.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; margin-left: 4px; padding-bottom: 2px; display: inline-block; cursor: pointer; width: 16px; height: 16px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">
</div><div><br></div><div>Mainly this section:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span style="font-family: 'Times New Roman'; background-color: rgb(255, 255, 255); font-size: medium; ">Only Integer, Real and String field types can be created. The various list, and binary field types cannot be created.</span></blockquote>
<div><br></div><div>I'm sure it could be patched to support datetime, just need to find someone willing to do it.</div><div><br></div><div>- Nathan </div></div></span><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 6:12 PM, romain riviere <span dir="ltr"><<a href="mailto:romain.riviere.974@gmail.com">romain.riviere.974@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<div><br></div><div>I was wondering why, in qgis 1.7, while saving an open mapinfo file as another mapinfo file, some fields are transformed:</div>
<div>DATE, DATETIME, ...</div><div><br></div><div>ex: mapinfo(DATE)->QGIS(DATE)->save as... mapinfo -> MAPINFO(TEXT)</div>
<div><br></div><div>Is there a way to do that using QGIS Python API ?</div><div><br></div><div>My goal was to export a layer (pyqgis), as a mapinfo layer, conserving the exact structure.<br></div><div><br></div><div>Another question: the date was originally like <span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">11/02/2010 in mapinfo and becomes </span><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">2010/02/11 in QGIS, why?</span></div>
<div><br clear="all"><font color="#888888">
Romain,<div><i><br></i></div><br>
</font></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br>