[R-sig-Geo] Probably beginner's problem

Johan Van de Wauw johan.vandewauw at gmail.com
Fri Sep 17 13:00:43 CEST 2010


The current version of RSAGA is not (yet) compatible with saga 2.0.5.
Installing saga 2.0.4 should fix your problem (both versions can live
together, no need to uninstall saga 2.0.5).

Johan

On Thu, Sep 16, 2010 at 2:59 PM, Ludwig Hilger
<ludwig.hilger at ku-eichstaett.de> wrote:
>
> Helly everybody,
>
> I am a RSAGA-beginner and I am trying to use some simple modules. Although I
> have combed through this forum for an answer to my questions, I could not
> make my modules run. So I post my two problems and I am hoping for some
> help.
>
> 1.      I am trying to add 10 *.sgrd with rsaga.grid.calculus:
>
> setwd("C:/Users/Ludwig Hilger/Documents/Studium/SS 2010/SEDAG - HIWI/Daten
> und Modul/Zwieselbachtal/")
> #rsaga.get.modules("grid_calculus")                        #Infos über ein
> eine Modulbibliothek
> #rsaga.get.usage("grid_calculus", 1)                       #Infos über die
> Parameter des Moduls
> rsaga.grid.calculus(in.grids = c("ZBT_mure1_modvel", "ZBT_mure2_modvel",
> "ZBT_mure3_modvel", "ZBT_mure4_modvel", "ZBT_mure5_modvel",
> "ZBT_mure6_modvel", "ZBT_mure7_modvel", "ZBT_mure8_modvel",
> "ZBT_mure9_modvel", "ZBT_mure10_modvel"),
> out.grid = '"ZBT_muren1_10_modvel2"', formula = "a+b+c+d+e+f+g+h+i", silent
> = FALSE)
>
> I get back:
>
> Unknown option 'INPUT'
> Usage: 1 -GRIDS <str> -RESULT <str> [-FORMULA <str>]
>  -GRIDS:<str>          Grids
>        Grid list (input)
>  -RESULT:<str>         Result
>        Grid (output)
>  -FORMULA:<str>        Formula
>        Text
>
> error: executing module [Grid Calculator]
>
> I have tried solving it by using rsaga.geoprocessor, using double quotation
> marks for the file specifications, the alternative for formula specification
> (~), but still it does not work.
>
> 2.      I am trying to use “Shapes to grid”. I am wondering where to specify the
> target grid dimensions if you choose Target to be 1:
>
> rsaga.geoprocessor(lib="grid_gridding", silent = FALSE, module = 0,
> param=list(
> GRID_GRID='"C:/Users/Ludwig Hilger/Documents/Studium/SS 2010/SEDAG -
> HIWI/Daten und Modul/Zwieselbachtal/In R berechnete
> Grids/ZBT_dreiteilige_auswahl.buff.sgrd"',
> INPUT='"ZBT_dreiteilige_auswahl_buff.shp"',
> FIELD=8,
> GRID_TYPE=0,
> LINE_TYPE=1,
> TARGET=1
> ))
>
> I get back:
>
> Load shapes: ZBT_dreiteilige_auswahl_buff.shp...
> ready
>
> Parameters
>
> Shapes: ZBT_dreiteilige_auswahl_buff
> Attribute: CAT
> Method for Lines: thick
> Preferred Target Grid Type: Integer (1 byte)
> Target Grid: grid
>
>
> error: executing module [Shapes to Grid]
>
> Thank you,
>
> Ludwig / Eichstätt, Germany
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Probably-beginner-s-problem-tp5538348p5538348.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list