[GRASS-user] OGR Import Error for shapes with Fieldtype DATE
Markus Neteler
neteler at itc.it
Thu Jul 6 07:49:40 EDT 2006
On Fri, Jun 30, 2006 at 09:32:38AM +0100, Düster Horst wrote:
> 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?
I have submitted my patch to CVS. Now your file is imported
properly.
Markus
--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list