[GRASS-dev] [GRASS GIS] #3396: db.in.ogr fails with .dbf files created with Visual Foxpro
GRASS GIS
trac at osgeo.org
Fri Aug 11 01:20:03 PDT 2017
#3396: db.in.ogr fails with .dbf files created with Visual Foxpro
-------------------------+-------------------------
Reporter: maitl | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: Database | Version: 7.2.1
Keywords: | CPU: Unspecified
Platform: MSWindows 7 |
-------------------------+-------------------------
Import of .dbf table created with Visual Foxpro ends with "ERROR: Input
DSN <C:\mytable.dbf> not found or not readable" . The problem is probably
related to the .dbf file header where file structure is described
(https://msdn.microsoft.com/en-us/library/aa975386(v=vs.71).aspx).
When I converted the problematic table in Visual Foxpro environment to
Foxpro 2.x format (command COPY TO mytable_fox26x TYPE FOX2X), then
dbf.in.ogr works.
If fixing the issue is complicated, then I suggest to add a note to manual
that "dBASE tables created with Visual Foxpro are not supported" and a
recommendation how to proceede.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3396>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list