3

I already have installed libLAS like this:

sudo apt-get install liblas-bin

And Ì have installed GRASS GIS 7 from the ubuntugis-unstable repository.

Is it possible v.in.lidar without compiling GRASS? I have tried to install it with:

g.extension extension=v.in.lidar

This gives the following error:

URL 'http://svn.osgeo.org/grass/grass-addons/grass7/vector/v.in.lidar' doesn't exist ERROR: GRASS Addons not found

Is there any way to make this work? Or any other way to avoid to have to compile GRASS as a whole? I am not very familiar with the compilation process, and as the guide recommends, I am trying to keep things as simple as possible.

2

I think the simplest answer is no.

The GRASS LIDAR docs state:

v.in.lidar - (GRASS 7 only; GRASS must be compiled with libLAS support).

Which the GRASS 7.0 Ubuntu packages do not appear to have. From the latest build log (amd64):

GRASS is now configured for: x86_64-pc-linux-gnu

...

GDAL support: yes GEOS support: yes
LAPACK support: yes
Large File support (LFS): yes
libLAS support: no
MySQL support: yes NetCDF support: yes
NLS support: yes
...

You will need to find an different package that does have that support built in, or build it yourself.

  • Thanks for your fast response! I was hoping there was any other method i didn't find. I suppose i will have to find a workaround to import the point clouds. – opengisapprendice Jul 22 '15 at 13:29
  • @opengisapprendice Have you seen las2ogr? If your GDAL installation is built with GRASS support (or with the plugin) you could use it to convert directly to a GRASS vector by the looks of it. – Evil Genius Jul 22 '15 at 16:24
  • My initial idea was to use las2txt and import the archives with v.in.ascii, but i will try that too :) – opengisapprendice Jul 22 '15 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.