[GRASS-user] problem with v.db.update and categories

2014-12-03 Thread tommaso
Hello, I'm trying to polygonize a lines layers. I imported the layer in grass with v.in.ogr as boundaries, then I attached the centroids with v.centroid. Probably because of the polygonize, some attribute are lost in in the output map, so I have to update the table to fix the attributes: v.db.upda

Re: [GRASS-user] problem with v.db.update and categories

2014-12-03 Thread tommaso
Ok, now can I add the missing categories in dbf table with: v.to.db map='polygons' type='centroid' option='cat' But the update command is still failing: v.db.update map=polygons col=building value=3.0 The new categories in dbf table have still empty 'building' attributes... On Wed, 03 Dec 2014

Re: [GRASS-user] problem with v.db.update and categories

2014-12-08 Thread tommaso
It seems to work better with the sqlite driver... Maybe the command v.db.update does not work with DBF driver? Thanks, Tommaso On Wed, 03 Dec 2014 12:18:13 +0100, tommaso wrote: Ok, now can I add the missing categories in dbf table with: v.to.db map='polygons' type='centroid' option='ca

Re: [GRASS-user] problem with v.db.update and categories

2014-12-10 Thread Markus Neteler
On Mon, Dec 8, 2014 at 10:37 AM, tommaso wrote: > It seems to work better with the sqlite driver... > Maybe the command v.db.update does not work with DBF driver? The DBF driver is not ideal at all for SQL related jobs. Maybe GRASS GIS is the only software which offers a bit of SQL for DBF :-) Bu