Questions tagged [las]

An industry-standard binary file format that maintains information related to lidar data.

References

LAS specification - version 1.4

Other LAS file types

Log ASCII Standard (LAS) is a standard file-format common in the oil-and-gas and water well industries to store well log information. Use the tag for questions related to Log ASCII Standard files.

54 questions
4
votes
2 answers

How to convert lidar format las to data.frame?

Lidar data is simply 3d coordinates, usually in las file format. Сontent example library(rgdal) library(raster) library(tmap) library(tmaptools) library(lidR) library(RStoolbox) las_cat <-…
psysky
  • 3,037
  • 5
  • 28
  • 64
3
votes
1 answer

LASTools doesn't run in QGIS 3.2 on WIN because of encoding

I have a problem with LASTools in QGIS 3.2. I installed plugin, activated it in processing menu with correct path. I tried to run lasview (I did the same process a day ago on ubuntu with WINE and everything was good), but I got only errormessage…
betka
  • 31
  • 3
2
votes
1 answer

Opening a LAS file in C++ outputting seemingly incorrect values

I will preface by saying that I am very new to C++, please forgive me if I have made any egregious errors. I am trying to write a c++ program to input a las file and output each point's coordinate vector. I followed this youtube video…
Thomas K
  • 59
  • 1
  • 6
2
votes
1 answer

How to get a circular subset of a las-dataset with specific area using lidR::clip_circle()?

To get a circular subset of a las-dataset with specific area, I would like to use lidR::clip_circular(). To do so, I first calculate the central point of my las-dataset, then I define the radius I want to use, to get a subset of exactly 500m^2 from…
ExploreR
  • 313
  • 4
  • 15
2
votes
2 answers

How to convert las file to 3d tiles so it can render by Cesium not use cesium ion

I have las file, point data. I want to know how to convert las file to 3d tiles, so it can render by Cesium.js. There is a demo, point data render by Cesium, but is use cesium ion. I want to use in 3d tiles. Because upload las file to cesium ion is…
Anderson Min
  • 89
  • 2
  • 12
2
votes
2 answers

LAS files - Python

I'm pretty sure this is a very menial question about LAS files, but I wasn't entirely sure how to google this. For context, I'm trying to create a plot given the information in a LAS file. import lasio as ls import pandas as pd import numpy as…
2
votes
1 answer

Get index method in LAS/LAZ files using PDAL

I'm playing around with PDAL command line interface with point cloud files in both LAS and LAZ formats. I want to know if there is an indexing mechanism in LAZ/LAS files. Is there a way to get this using PDAL.
CoolCK
  • 416
  • 5
  • 16
1
vote
1 answer

Reading LAS file using lasio library doesn't handle "-" in datetime column

I have a las file and I am trying to read it in python using lasio library, one of the columns is TIME which is in the following format: 00:00:00.22-04-23 Sample of data copied from las file: TIME col1 col2 00:00:00.22-06-23 1010 …
serdar_bay
  • 271
  • 1
  • 7
1
vote
1 answer

Is there an R function for finding if a .LAZ file is contained in a .SHP polygon

I have a folder in which I have several thousand .LAZ files and I would like to select those that are contained in the .SHP polygon. Can it be programmed in R, e.g. by adding a given name to .LAZ files. Loading so many files into a GIS program is…
1
vote
1 answer

How to save my dtm generated from LAS point cloud as tiff file in lidR package?

I am trying to save the dtm generated using plot command. The dtm has been generated from las using lidR using this code dtm1_tin <- rasterize_terrain(las1, res = 1, algorithm = tin()) plot_dtm3d(dtm1_tin, bg = "white") # Trying to save my plot…
1
vote
0 answers

Add a new attribute when writing a las file with laspy

I want to save a las file, and save x,y,z,intensity and reflectance attribute. The code runs and doesn't return any error; anyway, the reflectance attribute is not available in the file, when I open it in CloudCompare. Do i need to somehow modify…
Sbobby
  • 33
  • 7
1
vote
0 answers

How render .LAZ or .LAS point cloud 3D models in react three fiber

I have successfully rendered 3D Model with react-three-fiber, which is react wrapper for three.js, The .glb, .gltf files examples are in docs so this was ok. I want to do similarly render point cloud in .laz format I tried LASLoader which definitely…
Ajit T Stephen
  • 431
  • 1
  • 8
  • 21
1
vote
1 answer

An error when reading LAS file using python lasio

I am trying to read a LAS file in python using lasio. I have a situation where the following code performs without a problem on Windows, but raises an error in MacOS. import lasio las = lasio.read('myFile.las') las = las.df().reset_index() On…
serdar_bay
  • 271
  • 1
  • 7
1
vote
1 answer

Writing LAS header with PDAL in C++

I am working on an application that writes LAS files from scratch based on lidar data. Previously, the application was built with LibLAS and it worked quite well. However, LibLAS has been discontinued and they recommend to replace it with PDAL,…
1
vote
1 answer

Reading .las version 1.3 using C++, and displaying the results using pcl library

I'm fairly new to the Point Cloud world. In addition, I'm not so experienced in C++. I need to read .las files and process them using the pcl library. This is a sample file from the dataset that I need to read. I followed this youtube video.…
Mohamed Hedeya
  • 153
  • 5
  • 22
1
2 3 4