[GRASS-user] v.patch -a

Hi,

I am trying to understand 'v.patch -a'.

if I try:

v.patch -a in="map1,map2" out="map1" --overwrite

I get an error:
ERROR: Output vector map <map1> is used as input

The flag description indicates that is ok if --o is used:
Flags:
  -a Append files to existing file (overwriting existing files must be activated)

??

thanks,
Hamish

Hamish wrote:

I am trying to understand 'v.patch -a'.

if I try:
  v.patch -a in="map1,map2" out="map1" --overwrite

I get an error:
  ERROR: Output vector map <map1> is used as input

The flag description indicates that is ok if --o is used:
Flags:
  -a Append files to existing file (overwriting existing files must
be activated)

??

I got it. The correct syntax for the above would be:

  v.patch -a in="map2" out="map1" --overwrite

I'll add an example to the help page.

Hamish

      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping