WG: [GRASS-user] OGR Import Error for shapes with Fieldtype DATE

Frank Warmerdam warmerdam at pobox.com
Fri Jun 30 10:25:15 EDT 2006


Düster Horst wrote:
> Column type not supported (NEW_DATE)
> 
> Column type not supported (ARCHIVE_DA)
> DBMI-DBF driver error:
> Incompatible value type.
> Error in db_execute_immediate()
> 
> 
> The reason of this error seems to be the fields NEW_DATE and ARCHIVE_DA.
> These two fields are of type DATE. The same problem appears with the ogr
> Import functionality og QGIS 0.8. Datatype DATE is an approved type for ESRI
> Shapefiles.
> 
> Is it a known bug? Does exists a suitable workaround?

Duster,

I suspect that the OGR interface code in GRASS needs to either add explicit
handling of OGR date fields (a recent addition for GDAL/OGR 1.3.2) or it needs
to at least treat them as string fields, which is essentially what happened
before I think.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the grass-user mailing list