[GRASS5] [bug #3626] (grass) v.out.ogr forces REAL on an INTEGER column
Request Tracker
grass-bugs at intevation.de
Mon Sep 12 06:07:09 EDT 2005
this bug's URL: http://intevation.de/rt/webrt?serial_num=3626
-------------------------------------------------------------------------
Subject: v.out.ogr forces REAL on an INTEGER column
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs 23.08.05
Although my 'CAT' column is INTEGER...
db.describe table=poz_fault_patch_cut_pt_extr driver=dbf database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
table:poz_fault_patch_cut_pt_extr
description:
insert:yes
delete:yes
ncols:4
column:CAT
description:
type:INTEGER
len:11
scale:0
precision:10
default:0
nullok:yes
select:yes
update:yes
<snip>
...after I export the file with v.out.ogr, 'CAT' column becomes REAL...
[trawiarz at quercus ~]$ ogrinfo -al -so poz_fault_patch_cut_pt_extr/poz_fault_patch_cut_pt_extr.shp
INFO: Open of `poz_fault_patch_cut_pt_extr/poz_fault_patch_cut_pt_extr.shp'
using driver `ESRI Shapefile' successful.
<snip>
CAT: Real (11.0)
WYS: Real (24.15)
SM: Real (24.15)
WYS_MULT: Real (24.15)
I expected "CAT: Integer (11.0)" actually.
Maciek
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list