uses “6+” to signal that subsequent versions are intended to work. Since
the package only uses system(), it will work as long as
–interface-description returns an XML file. Plenty of examples and
scripts stop working because GRASS 6 and 7 modules have different flags
and/or parameter names, but in principle only for that reason. It’s hard
for me to check - it would be useful to have a translation table for flag
and parameter names by module where changes have occurred.
Best wishes,
Roger
–
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
The idea to be least invasive while gaining maximal consistency.
I hope that only a few scripts/examples are failing after migrating
from GRASS 6 to 7.
uses "6+" to signal that subsequent versions are intended to work. Since
the package only uses system(), it will work as long as
--interface-description returns an XML file. Plenty of examples and
scripts stop working because GRASS 6 and 7 modules have different flags
and/or parameter names, but in principle only for that reason. It's hard
for me to check - it would be useful to have a translation table for flag
and parameter names by module where changes have occurred.
Best wishes,
Roger
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
Thanks, this may be helpful, but is misses small things like the name being the same but the representation changing. For example, in some v.* like v.info, the layer parameter in 6* is integer, but 7 wants character.
Those broke the R code, so spgrass6 has to branch on GRASS 6/7 version in these cases; others I've seen break example scripts. For script maintainers, it may be unavoidable that changes have to be made, I agree, but it can be puzzling.
Roger
Cheers,
Paulo
On 08/29/2012 02:50 PM, Helmut Kudrnovsky wrote:
fyi a question regarding an "translation" (flags,parameter) table between grass6x and grass7.
Helmut
-------- Original-Nachricht --------
Datum: Wed, 29 Aug 2012 14:35:37 +0200 (CEST)
Von: Roger Bivand
An: Helmut Kudrnovsky
Betreff: Re: R + grass7
uses "6+" to signal that subsequent versions are intended to work. Since
the package only uses system(), it will work as long as
--interface-description returns an XML file. Plenty of examples and
scripts stop working because GRASS 6 and 7 modules have different flags
and/or parameter names, but in principle only for that reason. It's hard
for me to check - it would be useful to have a translation table for flag
and parameter names by module where changes have occurred.
Best wishes,
Roger
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.