[GRASS5] Re: [bug #4250] (grass) v.out.ogr: CHAR columns are trimmed to 80 chars when writing shp
William Kyngesburye
woklist at kyngchaos.com
Fri Apr 7 16:05:49 EDT 2006
The varchar problem was the similar issue for mysql/pgsql. DBF
tables don't have such a thing, just fixed-length char. But the way
the grass gdal driver is written, it doesn't set the length for char
columns, or any other columns, so number columns will default to
whatever they default to in OGR (24.15 by the looks of your example).
Fixing it is a little beyond me. I can do basic stuff by example
(that's how I was able to fix the varchar problem in mysql/pgsql),
but I'd have to dig around in the drivers to find an example to fix
the grass dbf problem.
Maybe Radim can help.
-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/
"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
More information about the grass-dev
mailing list