Martin Landa wrote:
Hi,

some vector maps from nc_spm_08 uses double precision column as key
column. Then  some modules fails...

v.info geology -c --q | grep cat
DOUBLE PRECISION|cat

v.extract in=geology where="cat > 10 and cat < 20" out=geology1 --o
[...]
ERROR: Column <cat> is not integer
See [1]. A wild guess: grass7 uses gdal and not the internal shapelib to open dbf files? At least in gdal-1.6.2, column <cat> would be interpreted as double because field length is >10. The <cat> column of geology is really integer, not double, because there are 0 decimal places.

Markus M

[1] http://trac.osgeo.org/gdal/ticket/809
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to