[GRASS-user] Re: Re: some interesting tools for working with LAS format

Hi!
Thanks to Hamish we can now easily convert LAS files to DEMs with r.in.xyz.

To remind, LAS Tools can be found here:
http://www.cs.unc.edu/~isenburg/lastools/

I successfully compiled and used it like this:

1)
in las2txt.cpp (lastools/tools/src): change main to return int:
int main(int argc, char *argv)

2)
g++ ../../src/lasreader.cpp las2txt.cpp -I ../../inc/ -o las2txt
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

3)
./las2txt test.las -otxt | r.in.xyz input=- output=dtm method=min fs=" "

As a start we can include references to the LAS tools in the relevant man
pages and wiki, with build and useage examples. This would get new users up
to speed on the 'toolchain' approach to processing data with GRASS+external
tools.

We should definitely do that.

While this is always an option, I think that by generalizing things a bit
further (via a GDAL/ogr driver) or using the LAS tools as a pre-processing
step would be the best way forward.

I absolutely agree with you. But don't know how complicated this implementation
will be and I'm not a programmer, so I cannot really support.

Bernhard