Hi Clay,
RSAGA provides a comfortable platform independent system wrapper for
SAGA but as stated no two-way bindings.
If you want to make use of SAGA algorithms () it is IMHO the most
straightforward way to import and export the raster files using the e.g.
gdalUtils. If you use raster()
In case it's of any use to others, I've been scripting some LiDAR
processing from R using LASTools, focused on dealing with many individual
las files. At this point we've just been extracting a bunch of metadata
fields to get a sense of what we have, fixing some metadata errors that
we're aware
Another option would be to create a SAGA tool chain XML file following the
tutorials by Michael Bock, Olaf Conrad, Volker Wichmann, and drag that XML
file into the SAGA module library. Does anyone know if you can access your
own SAGA tool chains with the RSAGA::rsaga.geoprocessor command? I
Try rLidar::readLAS as a straightforward alternative, it's not bullet proof
but works fine for a lot of examples. Happy to help extend it if your
format is not supported.
Cheers, Mike
On Fri, 12 Feb 2016 7:41 am Clay S wrote:
> Hi
>
> Is it possible to import a Lidar LAS file
Thanks Michael.
I did try the rLidar package. What I was trying to do is run a series of
SAGA modules on the Lidar data and then load the final raster output into
R. I don't necessarily need the Lidar data in R. But how do I pass the
Lidar data to the next SAGA module within R? I assume this
Thanks Michael Sumner
rLidar works well. But how do I pass the lidar data to another SAGA module
within R without saving the output of each step as a file in a whole series
of SAGA module calls from R?
I would like something like the dplyr %>% pipe command.
Thanks
Clay
On Fri, Feb 12, 2016 at
Hi Clay,
At some point I was looking into something similar, and don't think you can
do that with RSAGA. rsaga.geoprocessor() is running things as a system
commands (like running from the command line directly), so it is not
bringing the Lidar data into R, if I recall correctly.
One package you
Hi
Is it possible to import a Lidar LAS file into R with the
rsaga.geoprocessor function of the RSAGA package. The following code runs
without an error, but all I get in R is the SAGA console output.
The R code below does save a SAGA point cloud file called "test" in my
working directory. If I