[GRASS-dev] [GRASS-user] Fwd: Re: R + grass7
Roger.Bivand at nhh.no
Wed Aug 29 06:30:01 PDT 2012
On Wed, 29 Aug 2012, Paulo van Breugel wrote:
> You can find a list of changes in option settings and names here:
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.
r.info is also changed, with 6* -t having to be re-created for 7 -g then
find the "datatype" in the output.
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.
> On 08/29/2012 02:50 PM, Helmut Kudrnovsky wrote:
>> fyi a question regarding an "translation" (flags,parameter) table between
>> grass6x and grass7.
>> -------- Original-Nachricht --------
>> Datum: Wed, 29 Aug 2012 14:35:37 +0200 (CEST)
>> Von: Roger Bivand
>> An: Helmut Kudrnovsky
>> Betreff: Re: R + grass7
>> On Wed, 29 Aug 2012, Helmut Kudrnovsky wrote:
>> > Dear Roger,
>> > I'm trying to improve the GRASS GIS-R-coupling on windows
>> > (http://trac.osgeo.org/grass/ticket/1149).
>> > May I ask you if spgrass6
>> > (http://cran.at.r-project.org/web/packages/spgrass6/index.html)
>> is GRASS
>> > GIS 7-aware.
>> Yes, the description on:
>> 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 Bivand
>> Department of Economics, NHH Norwegian School of Economics,
>> Helleveien 30, N-5045 Bergen, Norway.
>> grass-user mailing list
>> grass-user at lists.osgeo.org
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the grass-dev