[GRASS5] [bug #2733] (grass) note v.convert in UPGRADING

this bug's URL: http://intevation.de/rt/webrt?serial_num=2733
-------------------------------------------------------------------------

doc/vector/vector.html should say how to convert one's old vector file
to new vector files, and visa versa.

Indeed I was sure your vector commands were broken until one day I
used (Debian bullhorn.org) g.list and noticed "oldvect"!

There is no way returning users will know you changed the vector
format unless you tell the whole story in some UPGRADING file, like
spamassassin has.

Anyway, how do I convert my old 5.0 vector files to new ones?
Or maybe one just copies them over or something.

Wait, deep down in the 2002 Blazek conference paper do I finally
notice v.convert. Just wanted to let you know the story.

P.S., $ v.convert help
     Description: Converts between GRASS vector versions.
Say which versions. Indeed prepare for future versions...
Say how to convert backwards too.

P.S., mention all the new restrictions on vector file names there too!
Also mention how to convert most or all of ones files in one step, not
just one at a time. Especially as the names will probably need removal
of now illegal chars.

--- Headers Follow ---

From jidanni@jidanni.org Mon Nov 29 00:29:49 2004

Return-Path: <jidanni@jidanni.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id EDEA6100179
  for <grass-bugs@lists.intevation.de>; Mon, 29 Nov 2004 00:29:48 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id A80DB36CE0
  for <grass-bugs@lists.intevation.de>; Mon, 29 Nov 2004 00:29:48 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id 2760736DEF
  for <grass-bugs@intevation.de>; Mon, 29 Nov 2004 00:29:46 +0100 (CET)
Received: from tc218-187-74-98.2-3.dynamic.apol.com.tw ([218.187.74.98]:33143 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CYYU9-0000TI-TN by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Mon, 29 Nov 2004 04:59:42 +0530
To: grass-bugs@intevation.de
Subject: note v.convert in UPGRADING
From: Dan Jacobson <jidanni@jidanni.org>
Date: Mon, 29 Nov 2004 07:26:36 +0800
Message-ID: <87k6s5wo5v.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker

Maybe you want to get CVS access and fix that. I have more important
things on my TODO with higher priority.

Radim

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2733
-------------------------------------------------------------------------

doc/vector/vector.html should say how to convert one's old vector file
to new vector files, and visa versa.

Indeed I was sure your vector commands were broken until one day I
used (Debian bullhorn.org) g.list and noticed "oldvect"!

There is no way returning users will know you changed the vector
format unless you tell the whole story in some UPGRADING file, like
spamassassin has.

Anyway, how do I convert my old 5.0 vector files to new ones?
Or maybe one just copies them over or something.

Wait, deep down in the 2002 Blazek conference paper do I finally
notice v.convert. Just wanted to let you know the story.

P.S., $ v.convert help
     Description: Converts between GRASS vector versions.
Say which versions. Indeed prepare for future versions...
Say how to convert backwards too.

P.S., mention all the new restrictions on vector file names there too!
Also mention how to convert most or all of ones files in one step, not
just one at a time. Especially as the names will probably need removal
of now illegal chars.

--- Headers Follow ---

From jidanni@jidanni.org Mon Nov 29 00:29:49 2004

Return-Path: <jidanni@jidanni.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id EDEA6100179
  for <grass-bugs@lists.intevation.de>; Mon, 29 Nov 2004 00:29:48 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id A80DB36CE0
  for <grass-bugs@lists.intevation.de>; Mon, 29 Nov 2004 00:29:48 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id 2760736DEF
  for <grass-bugs@intevation.de>; Mon, 29 Nov 2004 00:29:46 +0100 (CET)
Received: from tc218-187-74-98.2-3.dynamic.apol.com.tw ([218.187.74.98]:33143 helo=jidanni1)
  by frodo.hserus.net with esmtpsa (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CYYU9-0000TI-TN by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Mon, 29 Nov 2004 04:59:42 +0530
To: grass-bugs@intevation.de
Subject: note v.convert in UPGRADING
From: Dan Jacobson <jidanni@jidanni.org>
Date: Mon, 29 Nov 2004 07:26:36 +0800
Message-ID: <87k6s5wo5v.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

Request Tracker wrote:

>this bug's URL: http://intevation.de/rt/webrt?serial_num=2733
>-------------------------------------------------------------------------
>
>doc/vector/vector.html should say how to convert one's old vector file
>to new vector files, and visa versa.

This is a document dedicated to GRASS programming, not GRASS usage.

>Indeed I was sure your vector commands were broken until one day I
>used (Debian bullhorn.org) g.list and noticed "oldvect"!
>
>There is no way returning users will know you changed the vector
>format unless you tell the whole story in some UPGRADING file, like
>spamassassin has.

Please write it for us.

>Anyway, how do I convert my old 5.0 vector files to new ones?
>Or maybe one just copies them over or something.

http://grass.itc.it/grass57/manuals/html57_user/v.convert.html

I have added recenctly a new script:

v.convert.all [-r]

which does the job for all maps in the current mapset
(feel free to improve this script).

>Wait, deep down in the 2002 Blazek conference paper do I finally
>notice v.convert. Just wanted to let you know the story.
>
>P.S., $ v.convert help
> Description: Converts between GRASS vector versions.
>Say which versions. Indeed prepare for future versions...

We cannot mention the zillion GRASS versions by name.

>Say how to convert backwards too.

Suggestion:
Read the manual *completely*, not just the first two lines:
"v.convert converts GRASS 5.0/5.3/5.4 vectors into 5.7 vectors."
"If you need to convert back from 5.7 into the 5.0/5.3 vector format ..."

>P.S., mention all the new restrictions on vector file names there too!

Done. The new man page of v.convert.all explains that this script
automatically changes dots to underlines (can be extended).

>Also mention how to convert most or all of ones files in one step, not
>just one at a time. Especially as the names will probably need removal
>of now illegal chars.

Done in CVS.

Markus

PS: Consider to send text pieces which we can insert by copy-paste.

P.S., $ v.convert help
     Description: Converts between GRASS vector versions.
Say which versions. Indeed prepare for future versions...

Already done, this was changed to:

"Description:
Imports older versions of GRASS vectors."

in CVS some time ago.

Say how to convert backwards too.

already in help page ('v.out.ascii -o') and in G57 tutorial.

regards,
Hamish