[GRASS-dev] In G7, v.category with option=transfer layer=1, 2 doesn't seem to be effective
Nikos Alexandris
nik at nikosalexandris.net
Fri May 17 07:37:10 PDT 2013
Nikos wrote:
> In G7
> # transfer cats to new layers, as the manual describes [1]
> v.category polygons option=transfer layer=1,2 out=polygons_tmp
> # checking
> v.db.select polygons_tmp
> cat|id|cat_
> 1|1|
>
> v.db.select polygons_tmp layer=2
> cat
>
> Shouldn't that work out-of-the box?
[..]
Sorry, better to point at
<http://grass.osgeo.org/grass70/manuals/v.category.html>
> --%<---
> Copy categories from layer 1 to layer 2,3,4,5,6,7 and 8
> Existing layer will be overwritten, non-existing will be created.
>
> v.category input=observer output=observer_new option=transfer
> layer=1,2,3,4,5,6,7,8
> -->%---
Maybe adding info in the manual about the necessity to (re-)connect?
v.db.connect -o observer_new layer=2 driver=sqlite
database=PathToDB/sqlite/sqlite.db table=observer
N
More information about the grass-dev
mailing list