Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [liblas]

libLAS is a C/C++ library for reading and writing the very common LAS LiDAR format.

9
votes
3answers
325 views

Difference between LAStools, libLAS and PDAL?

After many readings, I'm still confused about the difference of use and the aims of the following tools for LiDAR data processing and manipulation: LAStools, libLAS, and PDAL. My understanding so far ...
2
votes
2answers
233 views

Reprojecting LiDAR data with libLAS error: “x scale and offset combination is insufficient to represent the data”

Disclaimer: This is a duplicate of this, a question without an answer. This is not, however, a duplicate of this, as it is a different error. I have a LAS file projected in EPSG:32636, and I need to ...
1
vote
1answer
40 views

Scaling issue in liblas / cloudcompare

I'm facing problems exporting a pointcloud in geo-coordinates in my software. I'm using liblas to export the point data. I have GeoData to display but upon loading it I subtract an offset to keepo ...
1
vote
0answers
51 views

Error reprojecting point cloud with liblas 1.8: “latitude or longitude exceeded limits”? [duplicate]

I was previously reprojecting a point cloud in .las format using liblas 1.7.0 (with GeoTIFF 1.4.0 GDAL 1.10.1) as follows: las2las /tmp/input.las --a_srs EPSG:4326 --t_srs EPSG:3857 --scale 0.001 0....
1
vote
0answers
175 views

Visualizing LAS with matplotlib

I'm trying to create a 3D scatterplot using an las file that contains xyz and return values. I want to keep all returns but would like to subset the cloud. I've learned how to subset using laspy so no ...
3
votes
1answer
487 views

error: Compression support not enabled in liblas configuration

I am using liblas 1.8.1 and laszip 3.1.1 on Mac OS High Sierra. Both were installed using brew install <package>. I am looking to get information from a laz file using the following command: ...
1
vote
0answers
78 views

How to extract and export “raised field” LIDAR objects?

I'm working on Windows 10. In input, I have a .LAS "GROUND_only" LIDAR point cloud (4 millions points). We're interested in geomorphological microstructures called raised field (ground elevation due ...
2
votes
1answer
239 views

Assigning CRS using las2las from libLAS?

My las file had a spatial reference of "None." I tried to assign the CRS (in which data were collected) with the following command line: las2las flightline_002.las --a_srs EPSG:32632 lasinfo --no-...
5
votes
2answers
4k views

Converting LAS to DWG/DXF using open-source software?

Is there a way to convert LAS point clouds to DWG and/or DXF files using open source software? Also willing to script with Python - is this possible using libLAS/LASlib for example?
3
votes
0answers
210 views

Can't import liblas into OSGeo4w Python on Windows machine

I installed the 32-bit version of OSGeo4w with the liblas-python packages on my Windows machine. When I try to import liblas into python, I get an error that no 'liblas' module can be found, even ...
1
vote
1answer
449 views

libLAS georeference las file and update header [duplicate]

I am just starting to use libLAS and I had a small issue. I have next code to generate a las file with georeferenced points: std::ofstream ofs; liblas::Header header; liblas::SpatialReference srs; ...
6
votes
1answer
2k views

Reprojecting LiDAR data with libLAS, error: “latitude or longitude exceeded limits”?

I have a lidar file (file.las) with the following spatial reference: Spatial Reference: PROJCS["NAD83 / UTM zone 11N", GEOGCS["NAD83", DATUM["North_American_Datum_1983", ...
3
votes
1answer
423 views

Georeferencing las files using liblas

I am trying to write georeferencing information to a '.las' file using liblas and c++. Here is my code: ofstream ofs; ofs.open("test.las", ios::out | ios::binary); liblas::Header header; ...
9
votes
1answer
3k views

Georeferencing LAS files in geographic coordinates (lat/lon) or in cartesian (projected) ones?

First of all, I am a newbie in GIS. I have a lidar point cloud with GPS and telemetry data associated. Then, I transform coordinates of every point to an ECEF coordinate system and finally I ...
2
votes
1answer
249 views

libLAS las2las scrubs ground point data on Ubuntu?

I am trying to use las2las from libLAS on Ubuntu 14.04 entering the following code into the terminal: las2las --input merged.las --output ground.las --keep-class 2 This outputs a LAS file which has ...
7
votes
2answers
2k views

Getting the projection of a LAS file using liblas?

I am using the python api of liblas to read/write las files. I would like to get the spatial reference information of the las file using liblas, but have been unable to figure it out. Can anyone ...
3
votes
1answer
293 views

Identifying flightline ID within an LAS file?

I am working with multi pulse LiDAR data that collects points along a number of lines within the flight path. From what it appears there are four scan lines within the data, at different intervals but ...
4
votes
1answer
650 views

How to add points to LAS copy using liblas?

I am trying to make a copy of a LAS file while inserting new points using python liblas module. The code below creates the copy and adds the points, but for some reason the added points are not in ...
14
votes
3answers
5k views

Converting LAS file to numpy array?

I have begun learning how to manipulate LAS data in python and wanted to see how others handle LAS files. I would like to read the points (I am using a numpy array), and filter out classes 1 and 2 (...
0
votes
1answer
194 views

Problem compiling liblas on OSX 10.8

I'm trying to compile liblas since I can't find any Mac executables out there(?). I have OSX 10.8 and XCode 4.6.3. Since I'm not a programmer I get really confused when I follow the instructions on ...
6
votes
1answer
717 views

Problem reprojecting LIDAR data with Liblas [duplicate]

I am currently trying to reproject a LIDAR file (.las) using the Open-Source LibLAS, compiled on a Scientific Linux server. The Original data is in Oregon Lambert, NAD83 (EPSG:2992), and I am trying ...
2
votes
1answer
798 views

Problem importing LiDAR data in GRASS 7

I compiled GRASS 7 on Ubuntu 12.10, with liblas in order to run r.in.lidar and v.in.lidar. I now want to import .las data; the option in file -> import raster data -> LAS LIDAR points import is given ...
1
vote
1answer
655 views

How do I install the las2ogr tool from liblas in Windows using the osgeo4w installer?

I was wondering if anyone has used the LAS2OGR tool? I heard about this from a previous post. The webpage gives the usage: http://www.liblas.org/utilities/las2ogr.html las2ogr -i mydata.las -o ...
8
votes
3answers
4k views

Do any open-source .Net libraries (commercially usable) exist for reading/writing LiDAR data?

I have a few LiDAR point data (.las files) with me. I would like to read the X,Y and Z from it using .Net. I found liblas, which is in C++ and I am not sure if it can be used commercially after ...
16
votes
7answers
33k views

Viewing LIDAR data (.las) in QGIS?

Is there an easy path to visualizing LIDAR data in QGIS? I have some USGS LIDAR data in .las format downloaded from http://lidar.cr.usgs.gov/. This means I have both the .las and metadata in .xml ...