Questions tagged [las]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
26 views

Add classification with laspy

I need to add classification to create a LAS file. I used the code below but it was miss-classified. Is there any problem with the code? And what is the difference between: out.file classification ...
2
votes
0answers
42 views

Converting from .las to .ply and vice versa in Python? [closed]

I am trying to convert a .las/.laz file into .ply file, read the .ply file, do some processing on it and then convert it back to .las/.laz file. Is there any Python implementation for this? For ...
2
votes
1answer
49 views

Rescaling LAS file with lidR package in R?

I am trying to process a large .las file received, which appears to have been scaled in non-standard ways for some reason (likely data transfer portability). The scales between x, y, z are different ...
0
votes
1answer
52 views

Reading LAZ file in Python directly?

I am able to read .las file in Python using laspy in Windows as below: las_filename = 'abc.las' inFile = laspy.file.File(las_filename, mode='r') But when I put a .laz file in this code, I get the ...
0
votes
0answers
15 views

Adding RGB values from a .txt file to a .las file using laspy

I have a text file that has XYZ and RGB values in it. To convert it to .las format i use lfile = laspy.file.File(r"D:\las\tolas.las", mode='w',header=LasHeader(x_scale=0.01,y_scale=0.01,z_scale=0.01))...
1
vote
2answers
75 views

Seeking free public LIDAR data of road in LAS format?

I am currently working on LiDAR point cloud road marking extraction. Please help me to get relevant public dataset in LAS format? Sample data is as shown in the image below: Data without original ...
1
vote
1answer
26 views

Converting LAS Dataset into a point feature class with x-y-z in TOC?

How can I convert a LAS data set (displayed as LAS point elevation in ArcGIS 10.5) into a point feature class with x-y-z information attached to it (or stored in the attribute table)? ArcGIS has the ...
0
votes
0answers
31 views

Extract/Clip LAS (LiDAR lasd) based on shapefile, using ArcGIS Pro and ArcMap 10.6

I have a few large LAS files which span a big area. I have created an .lasd dataset in ArcGIS Pro and ArcMap 10.6. I want to use a shapefile to define the extent of the LAS file, and extract/filter ...
1
vote
2answers
31 views

Further compression of LiDAR data besides LASZip

I am looking for a way to compress files other than LASZip that may make the files a bit more smaller, is there an efficient way to do this? Would zipping up a LAZ file further compress the file? Or ...
2
votes
2answers
52 views

writeLAS writes corrupted file: 'end-of-file' after 10468 of 10474 points

I am seeing strange write behavior with lidR. The outputs from lidR are compressed to fall on a single line. I vaguely recall discussing this with JR before, but cannot recall a solution. #ok las0=...
0
votes
0answers
27 views

LAS to PCD conversion by preserving original coordinates?

I need to convert files from LAS format into PCD format. I tried PDAL, but it doesn't preserve original coordinates in output file. pdal translate input.las output.pcd It changes coordinates from ...
4
votes
0answers
60 views

Maintaining extra data for .laz for use in R and Python?

I am working on releasing a benchmark dataset for trees in RGB + Lidar and I'd like the format to match the most common use cases and packages. I had been intending on proving a tree index using the ...
4
votes
1answer
120 views

How to use lastrees on a catalog with a function requiring a CHM raster?

I'm still fairly new to using LiDAR data and R, so please let me know if this isn't clear. I am using the lidR package to segment individual trees over a large landscape. I have been using the ...
0
votes
1answer
70 views

Converting .LAS to .PCD file using CloudCompare

I want to convert a LAS file to PCD format using CloudCompare software. How I can do that?
0
votes
0answers
25 views

Is it possible to edit a dimension's data type from pdal?

I'm working in a viewer based in potree with entwine, and i want to have HeightAboveGround (HAG) as a additional information, without replace Z in the LAS data. The target is to show the elevation and ...
0
votes
1answer
64 views

Convert EPSG:2263 LiDAR data to EPSG:4326 to use with FSX

I have LiDAR (las) input files in EPSG:2263 (NAD83, NY state plane, feet_US) aquired from https://gis.ny.gov/elevation/ and want to convert those file to EPSG:4326 (WGS84) for use in MS Flight ...
0
votes
1answer
59 views

Multiple LAS files- Define Projection [closed]

I am looking for some help drafting code to define the coordinate system for multiple las files. I have seen plenty on how to batch define projections with rasters and shapefiles, but nothing on las ...
-1
votes
1answer
71 views

Can my “.las” data be classified [duplicate]

I was given a ".las" data set from a Trimble/AutoCAD shop. I use Esri. I could not import the .las file they supplied to an ESRI LASDataset as it was created with Trimble software. I downloaded and ...
1
vote
1answer
388 views

Converting .ply files to .las for ArcGIS input?

I'm trying to open a .ply file (point cloud in ArcGIS Desktop and ArcGIS Pro), but I can't. How can I convert the .ply file to .las, or open .ply in ArcGIS Desktop or ArcGIS Pro?
0
votes
1answer
30 views

Create LAS Dataset in ArcGIS

I created a LAS Dataset out of my 1000 LAS-Files (regular grids) with the purpose of converting the LAS Dataset to a Raster later on. But the problem is: my LAS-Files are overlapped on the borders ...
0
votes
1answer
49 views

PDAL Filter output is same as input file

I've applied SOR filter using PDAL python.Below is the code snippet of the same, json = """ { "pipeline":[ "D:/Lidar_collect_3/output/output_1.las", { "type":"filters....
1
vote
1answer
99 views

append X,Y,Z and intensity values into a las file

I want to append XYZI values row after row into a las file.How to do this? I'm using python laspy library to write XYZI points at once, but i want to append row after row using a loop. The points are ...
1
vote
0answers
185 views

Converting .pcd to .las file using PDAL

I found this answer on my question. But when I try to do it, I get this error: The command: pdal translate D:\Information\bigrotate_frontview.pcd D:\Information\output.las I get this error: Failed ...
2
votes
1answer
160 views

Extracting projection from each LAS file in directory using ArcPy?

I am using ArcPy to automate the conversion of LAS files to Raster in ArcGIS. I'd like to extract the spatial reference from each LAS file along the way. Is it possible to do this using ArcPy tools?...
0
votes
0answers
62 views

Filtering trees with Mac

I own about 200 acres of forest with about 350' of elevation change. I have a DJI 4 Advanced and my goal is to produce elevation maps to plan the building of one or more ponds. I've tried and failed,...
5
votes
2answers
251 views

Convert WKT coordinate reference system to PROJ4

I'm currently working on a better support of LAS 1.4 file format in the rlas R package. In LAS 1.4 format the CRS of the point cloud can be stored as a WKT string. For example this is what I read from ...
1
vote
1answer
311 views

Splitting LAS file into smaller LAS files by shapefile geometry boundaries - using PDAL or Global Mapper. [duplicate]

I've looked up pdal documentation on how to clip LAS point cloud files:- https://pdal.io/workshop/exercises/analysis/clipping/clipping.html Referencing this example, and having a quick look around, ...
3
votes
1answer
286 views

Error in reading point cloud data (.las) in R?

I want to generate a DEM using a point cloud (.las) for which I tried reading it in R using rlas, lidR and rLiDAR : readLAS command and none of it seems to work. The LASfile is not being read at all....
2
votes
1answer
298 views

LAS/LAZ parser for NodeJS

I cannot find any popular libraries for parsing (reading into memory) of LAS or LAZ (lidar data) files in NodeJS (desktop Javascript) https://github.com/yuyou/liblas4node/blob/master/lib/liblas.js ...
1
vote
3answers
166 views

Maximum number of returns per laser pulse in airborne LiDAR?

What is the maximum amount of returns a discrete aerial laser scanner is capable of recording? For example in a LAS 1.2 metadata under Point Data Records there is the category 'Number of Returns' ...
0
votes
1answer
64 views

PDAL info with docker yields no output?

I am using pdal info within a docker env for a specific .las file (~2 GB). docker run -v /Users/user.name/workspaces/testData:/data pdal/pdal pdal info /data/sp.las --developer-debug Unfortunately, ...
2
votes
1answer
62 views

Whitebox Tools ClipLidarToPolygon writes no points to output file?

Running Whitebox Tools (v 0.11) on Windows from the official binary. The ClipLidarToPolygon tool creates an output LAS file with no points and the message There are fewer than two points in the LAS ...
1
vote
1answer
1k views

Merging multiple LiDAR (.las) files?

I downloaded about 9 LiDAR scenes from USGS and I want to use ArcGIS to merge them so that I can carry out tasks on them together as opposed to one by one.
1
vote
2answers
438 views

Adding RGB values to Laspy synthetic point generation?

What is the correct way to add RGB values to points made from scratch? Laspy is working great for me so far. I want to add RGB values to synthetic points that I've generated. I am using 2 numpy ...
2
votes
1answer
340 views

Importing LiDAR point cloud classes in Potree?

I can't find a way to import classes (roof, vegetation, ground, etc..) in Potree. I generated the web page, except I get the black point cloud. When I, for example, open .las file in ERDAS Imagine, I ...
0
votes
0answers
163 views

Colorize a point cloud in a web page based on a scalar field?

The issue: I have a a PLY point cloud file computed from a photogrammetric acquisition that has been processed in CloudCompare. The header look like: ply format binary_little_endian 1.0 ...
1
vote
1answer
356 views

Converting .pcd LiDAR binary compressed file to .las format?

I have LiDAR data in the format of .pcd in a binary compressed file (version .7). How can I convert it into .las format or any other that can be readable by LAStools in ArcGIS 9.3 version ownwards? ...
1
vote
1answer
180 views

JSON pipeline in Python doesn't create any output file?

I have ground LiDAR point cloud with some noise points. I would like to use filter.statistics in PDAL (in Python 3.6) using JSON pipeline to filter the noise out. json = """ { "pipeline":[ "/9A-...
1
vote
1answer
172 views

Visualizing extra bytes from LAS 1.4 in Potree?

I was wondering if it is possible to visualize the information that can be stored in the extra bytes of the LAS 1.4 file. This could be really helpful for validating features that have been calculate ...
0
votes
0answers
74 views

Selecting .las points based on intersection with polygon in ArcGis

I'm trying to select all .las points that fall within a selected polygon. So basically like select by location, but with a .las file and a feature layer file instead of two feature layer files. I ...
1
vote
1answer
119 views

Batch processing LiDAR files (.las to raster) with PyQGIS?

for layers in glob.glob("*.las"): processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"E:/...
0
votes
1answer
110 views

Batch scripting r.in.lidar in pyQGIS for LiDAR DEM output? [duplicate]

I need to use pyQGIS to write a script that will run the r.in.lidar GRASS 7 on a set of LAS files. I am terrible at Python, but I need this for my task. I would like to process as a batch. How can I ...
1
vote
0answers
135 views

Create laspy file object without creating a new file

I would like to create a new laspy.file.File object in memory without having to create a reference .las file. The basic procedure is read sample.las clip sample.las by converting the x and y ...
1
vote
1answer
255 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 ...
5
votes
1answer
378 views

GRASS's r.in.lidar error in QGIS 3: “North must be north of South”

I have LAZ files that I unpacked with laszip.exe, then I ended up with LAS files. These files showed no error when making a LAS dataset in ArcGIS. I used this dataset several times without ant issues....
1
vote
2answers
1k views

laspy ValueError: buffer size must be a multiple of element size

I am trying to learn LASPY and am running into road blocks off the bat. I first ran into and Error 8 (Not enough storage is available to process this command) using my full sized LAS file (1.7GB). I ...
1
vote
1answer
146 views

Classify LAS By Height tool is not yielding any results?

The classify LAS by height tool (CLHT) in ArcGIS says that it will only reclassify LAS points with class codes of 0 or 1 (http://pro.arcgis.com/en/pro-app/tool-reference/3d-analyst/classify-las-by-...
6
votes
1answer
442 views

Laspy exception: “Invalid format”

I am attempting to open a couple of las files in laspy, however one of them has file version 6.0 (although it does not show up as such in lasinfo - I may be missing something). Digging through the ...
1
vote
0answers
465 views

Generate Height map for unity-3D from Lidar point data [closed]

I have Downloaded a data set from udacity open source self driving car program from here. It is a ROS (Robotic operating system) BAG file more info.The BAG file contains data collected from Velodyne ...
5
votes
2answers
2k views

Converting TIFF file to LAS file in QGIS?

I've been asked by a client to compile LiDAR files (currently in GeoTiff format) into a LAS dataset. Is this possible within QGIS? I have downloaded LAStools, but I'm still fairly new to LiDAR so ...