On Thu, Nov 23, 2017 at 12:13 AM, Eric Patton <[email protected]>
wrote:
>
> Is there an easy way to copy all attributes from layer 2 of a vector
points map to layer one (which doesn't currently exist - is will need to be
created)?
>
> Alternatively, maybe all I really need is a way to rename layer 2 to
layer 1 while keeping all attributes intact.

You need to distinguish between category values of the vector points and
attribute tables linked to a particular layer.

You can change the layer number of category values from layer 2 to layer 1
with

v.category option=chlayer layer=2,1

Now you need to reconnect the attribute table from layer 2 to layer 1 with
v.db.connect

HTH,

Markus M

>
> Background: I need to move all the attributes to layer 1 in my point map
in order to patch vector maps together with v.patch.
>
> Thanks,
>
> --
> Eric Patton <[email protected]>
>
> _______________________________________________
> grass-user mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to