#792: dbf driver: wrong column data type
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: [email protected]
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Database | Version: svn-trunk
Keywords: data type | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
DBF driver in GRASS 7 reports 'double' even if decimals is zero, e.g.
{{{
D2/5: DBFFieldType 2
D3/5: add_column(): tab = 2, type = 3, name = cat, width = 11, decimals =
0
}}}
{{{
DOUBLE PRECISION|cat
}}}
Attached patch forces 'integer' if 'double' with decimal = 0 is detected.
I am not sure if it's right approach.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/792>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev