Details Ticket 3626


Comment | Reply | Take | Resolve


Serial Number 3626
Subject v.out.ogr forces REAL on an INTEGER column
Area grass6
Queue grass
Requestors tutey@o2.pl
Owner none
Status open
Last User Contact Wed Jan 11 09:52:20 2006 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Jul 26 15:00:10 2006 (2 yr ago)
Created Mon Sep 12 12:07:09 2005 (3 yr ago)

Transaction History Ticket 3626


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  
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request