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

Düster Horst Horst.Duester at bd.so.ch
Fri Jun 30 04:32:38 EDT 2006


I try to import the attched shape with v.in.ogr but the process breakes with
the following error message:

v.in.ogr dsn=/gis_data/natpol.shp output=test min_area=0.0001 snap=-1 
Projection of input dataset and current location appear to match.
Proceeding with import...
Layer: natpol

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?

---------------------------------------------
 
Dr. Horst Düster 
GIS-Koordinator, Stv. Amtschef

Kanton Solothurn 
Amt für Geoinformation
Abteilung SO!GIS® Koordination
Rötistrasse 4
CH-4501 Solothurn 

Tel.: ++41 (0)32 627 25 32 
Fax: ++41 (0)32 627 22 14

horst.duester at bd.so.ch 
www.sogis.so.ch





More information about the grass-user mailing list