[GRASSLIST:8327] Re: overwrite option
Hamish
hamish_nospam at yahoo.com
Mon Sep 19 06:43:20 EDT 2005
> So, I was importing some shape files, and it happens that sometimes it
> doesn't work, because the dbf has some long similar names and grass
> understand them as duplicates, so you have to edit the column name in
> OenOffice and import it again. But also happens that gras creates
> something with the nae you choose for that vector, and then you get an
> error msg (file exists).
> I think that _all_ import commands should have an overwrite option so
> this wouldn't happen.
[sorry for the delayed response, sorting through piles of old emails...]
To overwrite, add --o to the command.
g.module --o
or to turn on permanently:
g.gisenv set="OVERWRITE=1"
see:
http://grass.ibiblio.org/grass61/manuals/html61_user/variables.html
A lot of vector modules do not remove the half-created vector file after
an abnormal exit. :-/
Hamish
More information about the grass-user
mailing list