[R-sig-Geo] RSAGA not runing all functions under Linux Ubuntu Natty

Alexander Brenning brenning at uwaterloo.ca
Thu Oct 6 15:18:58 CEST 2011


Hola Alberto,

the short answer is that this doesn't seem to be an RSAGA problem but a 
SAGA GIS problem; however, since you are using SAGA GIS 2.0.4 I would 
first recommend updating to the most recent release before submitting a 
request to SAGA's sourceforge forums.

I tried to reproduce the error with RSAGA 0.92-2 and SAGA GIS 2.0.4 (as 
well as 2.0.7 - both on Windows, however) and did not get an error. 
Interestingly, I also get "Grid: [not set]" but then "Save grid: 
test.sgrd..." and the SGRD was in fact saved correctly.

So maybe there's an issue with the linux binaries you are using...

In any case it can't really be an RSAGA error since you are getting the 
same error when running the module from the command line? (saga_cmd is 
not part of RSAGA but of SAGA GIS)

I hope updating to SAGA GIS 2.0.7 will resolve this issue. Good luck! If 
not, please report to SAGA's sourceforge project, and don't hesitate to 
get back to me if you do find any issues with RSAGA on Linux.

Best,
   Alex


> Date: Wed, 5 Oct 2011 23:53:33 -0500 (CDT) From: Alberto Gomez-Tagle
> Gomez<gomeztjr at umich.mx> To: r-sig-geo at r-project.org Subject:
> [R-sig-Geo] RSAGA not runing all functions under Linux Ubuntu Natty
> Message-ID:<1867502126.1223.1317876813774.JavaMail.root at zeus>
> Content-Type: text/plain; charset=utf-8
>
> Dear all!!
>
> I have R-2.13.2. and SAGA up and running in Linux (Ubuntu, natty), I
> installed SAGA using synaptic. I'm not a newbie in R neither GIS
> processing. I have been an ESRI ArcView/ArcGIS and ILWIS and Idrisi
> user for several years. Now I intend to start teaching GIS at my
> university using open-source GIS, so far GRASS (stand alone and
> spgrass6) is going smooth.
>
> I have gone through some excercises with SAGA stand alone and goes
> very smooth. Nevertheless, it does not import *.asc files into SAGA
> When doing so I get the next messages from the command line:
>
> [2011-10-05/23:32:03] Executing module: Import ESRI Arc/Info Grid
> Parameters Grid: [not set] File:
> /home/agt/Documentos/Spatial-Analyst.net/DEM25m.asc
> [2011-10-05/23:32:03] Module execution failed
>
> Then I tried to do the same using RSAGA, and following up several
> excercises posted in the web for SAGA GIS (Spatial Analyst.net)
> NGS.R (Geomorphometry.org). There seems to be some sort of problem
> with RSAGA communicating with SAGA GIS or the import module is not
> working at all. Although some SAGA modules appear to be runing right,
> some other seem to fail, right after downloading and unziping the
> files (examples in the next lines):
>
>> rsaga.env()
> $workspace [1] "." $cmd [1] "saga_cmd" $path [1] "/usr/bin" $modules
> [1] "/usr/lib/saga" $version [1] "2.0.4"
>
>
>> rsaga.esri.to.sgrd(in.grids="DEM25m.asc", out.sgrd="dem25m.sgrd",
>> in.path=getwd())
>
> SAGA CMD 2.0.4 Load table:
> /home/agt/Documentos/Spatial-Analyst.net/saga.srs... failed library
> path:	/usr/lib/saga library name:	libio_grid module name :	Import
> ESRI Arc/Info Grid author      :	(c) 2007 by O.Conrad
>
> Parameters Grid: [not set] File:
> /home/agt/Documentos/Spatial-Analyst.net/DEM25m.asc
>
> error: executing module [Import ESRI Arc/Info Grid] Mensajes de aviso
> perdidos comando ejecutado ''/usr/bin/saga_cmd' libio_grid 'Import
> ESRI Arc/Info Grid' -FILE
> '/home/agt/Documentos/Spatial-Analyst.net/DEM25m.asc' -GRID
> 'dem25m.sgrd'' tiene estatus 1
>>
>
> What exactly means Grid:[not set]?, Do any one have some idea on what
> is going wrong here?, How do I solve it?. Did I miss something during
> the installation of SAGA GIS? Would it be better to install SAGA from
> a terminal?
>
>
>
>
> Best regards
>
> Alberto GT
>

-- 
Alexander Brenning
brenning at uwaterloo.ca - T +1-519-888-4567 ext 35783
Department of Geography and Environmental Management
University of Waterloo
200 University Ave. W - Waterloo, ON - Canada N2L 3G1
http://www.environment.uwaterloo.ca/geography/faculty/brenning/



More information about the R-sig-Geo mailing list