As far as I know this is a limitation of the MapInfo ogr driver that QGIS uses http://www.gdal.org/ogr/drv_mitab.html
Mainly this section: Only Integer, Real and String field types can be created. The various list, > and binary field types cannot be created. I'm sure it could be patched to support datetime, just need to find someone willing to do it. - Nathan On Fri, Aug 12, 2011 at 6:12 PM, romain riviere < [email protected]> wrote: > Hi all, > > I was wondering why, in qgis 1.7, while saving an open mapinfo file as > another mapinfo file, some fields are transformed: > DATE, DATETIME, ... > > ex: mapinfo(DATE)->QGIS(DATE)->save as... mapinfo -> MAPINFO(TEXT) > > Is there a way to do that using QGIS Python API ? > > My goal was to export a layer (pyqgis), as a mapinfo layer, conserving the > exact structure. > > Another question: the date was originally like 11/02/2010 in mapinfo and > becomes 2010/02/11 in QGIS, why? > > Romain, > * > * > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
