[GRASS-dev] no cats in map but adding table says 1 is there

2008-12-06 Thread Maciej Sieczka
Take a simple vector map - 3 points, each having an unique category: $ v.info -t rndv nodes=3 points=3 lines=0 boundaries=0 centroids=0 areas=0 islands=0 faces=0 kernels=0 primitives=3 map3d=0 $ v.category opt=print in=rndv (no output, i.e. no categories) Why does v.db.addtable say 1

Re: [GRASS-dev] no cats in map but adding table says 1 is there

2008-12-06 Thread Martin Landa
Hi, 2008/12/6 Maciej Sieczka [EMAIL PROTECTED]: Why does v.db.addtable say 1 categories read from map when adding table to it?: it's because v.to.db groups all features without category into cat '-1'. Fixed (not reported) in r34751. Martin -- Martin Landa landa.martin gmail.com *

Re: [GRASS-dev] no cats in map but adding table says 1 is there

2008-12-06 Thread Maciej Sieczka
Martin Landa pisze: Hi, 2008/12/6 Maciej Sieczka [EMAIL PROTECTED]: Why does v.db.addtable say 1 categories read from map when adding table to it?: it's because v.to.db groups all features without category into cat '-1'. Fixed (not reported) in r34751. Thanks for q quick fix. Best, Maciek