Mon, Sep 12 2005
12:07:09
|
|
Request created by guest
|
|
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/d
bf/
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@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 |
|
Wed, Jan 11 2006
09:52:20
|
|
Mail sent by mneteler
|
|
Hi,
since this is an OGR related but, you may also look in
the OGR bugtracker. Some time ago I have posted a
related bug report there:
http://bugzilla.remotesensing.org/show_bug.cgi?id=809
Markus
|
|
Wed, Jul 26 2006
15:00:10
|
|
User changed to tutey@o2.pl by msieczka
|
|