[GRASS5] [bug #3970] (grass) v.in.ogr: CAT becomes DOUBLE instead of INTEGER

Maciek Sieczka via RT grass-bugs at intevation.de
Tue Jan 10 15:19:10 EST 2006

This report was dumb:

I wrote:

> DOUBLE PRECISION|CAT           <- shouldn't it be INETEGER?

No, it shouldn't. Because the input column is DOUBLE indeed:
$ ogrinfo -al -so tmp/dzialki_rogow/dzialki_rogow.shp
CAT: Real (11.0)

BUT - the problem is that this input column SHOULD BE INTEGER, NOT REAL. The
reason is a bug (?) in v.out.ogr:

"v.out.ogr forces REAL on an INTEGER column"

Please, really, could somebody take a look at this and say why INTEGER columns
are exported as REAL (ie. DOUBLE PRECISION)? We don't want our data to be
modified this way by v.out.ogr. Or do we?


-------------------------------------------- Managed by Request Tracker

More information about the grass-dev mailing list