[Qgis-developer] Export MAPINFO: field DATE,DATETIME, ...

Nathan Woodrow madmanwoo at gmail.com
Fri Aug 12 04:19:38 EDT 2011


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 <
romain.riviere.974 at gmail.com> 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
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110812/73130d76/attachment.html


More information about the Qgis-developer mailing list