Questions tagged [las]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
27 views

Extract point cloud data from shapefile with Python

I am trying to plot profiles from LAS data. So my first step is to extract the data using a shapefile. I found this piece of code on the laspy website and thought I could use it to do this : def ...
2
votes
0answers
33 views

lidR:::catalog_laxindex() - “largest interval gap increased to…” logged

Often when running lidR:::catalog_laxindex() on a catalog of tiles I'm seeing the following log messages: largest interval gap increased to 1554 largest interval gap increased to 3802 largest ...
2
votes
1answer
44 views

If converting .xyz to .las using e.g. laspy, then how to specify offset and scale?

I have data from Lidar in .xyz format. I read that it could be beneficial to convert it to .las. So that one can use e.g. laspy -library. For example (code copied from an example): import laspy ...
2
votes
0answers
27 views

Clarification on LAS Overlap Flag

I am somewhat confused on the meaning of the Overlap flag which is present in las spec 1.4. The ASPRS LAS Version 1.4 Spec states: New to LAS 1.4 is the fourth flag, OVERLAP. It is frequently ...
4
votes
2answers
89 views

Overlapping LAS tiles

I have a las catalog with overlapping tiles. LidR warns me of this, and I'm wondering how concerned I should be. The tiles are in las version 1.2 with point record format 1. None of the points are ...
5
votes
1answer
121 views

Unusual polygon shapes when using tree_hulls?

The following script uses lidR to segment trees and output tree hulls (i.e. polygons representing individual tree canopies). Input data are a directory of laz files and a catalog is used to manage the ...
2
votes
1answer
23 views

lidR - Bad scan angle

When reading a las file I'm getting the following error: > readLAS("/tmp/chunk89/u_6300085100_2015.las") Error: Invalid data: ScanAngle greater than -180 degrees. In addition: Warning messages: 1: ...
1
vote
1answer
30 views

lidR - lasnormalize error handling

When normalizing a lasCatalog, the processing stops early with the following error: An error occurred when processing the chunk 22. Try to load this chunk with: chunk <- readRDS("/tmp/RtmpdcuTUO/...
2
votes
1answer
42 views

Find optimal chunk size using opt_chunk_size() in lidR catalog?

Is there a way to find the optimal chunk size using opt_chunk_size() when using a lidR catalog? I seem to always randomly choose integer values until the program quits throwing errors at me. For ...
2
votes
1answer
38 views

LASCatalog - Inconsistent number of VLR

I have a LASCatalog that is producing some funky outputs so I ran a lascheck() on it. The output tells me that catalog has inconsistent number of VLR, but what does this mean? I know that variable ...
0
votes
1answer
30 views

Getting *.las file data into SAGA las processing tools?

How do I get .las files into SAGA las processing tools? Do I have to convert *.las data to *.sprm format first? If so, how?
1
vote
0answers
28 views

ArcGIS Pro tool is failing. “Set LAS Class Codes Using Features”

I'm using ArcGIS Pro and I have a nice LAS Dataset. It came to me with the points already classified. The classifications are off, many buildings are classified as vegetation, for example. I'm trying ...
2
votes
1answer
48 views

Ignoring buffer files in processing

I'm wondering if it is possible to include some las files in a LAScatalog only for the purpose of providing a buffer to other las files. For example, I may only want to normalize 2 las files and use ...
5
votes
1answer
50 views

Reading remote LASCatalog

Would it be possible to read in a LASCatalog from a URL or vector of URLs? It is not possible with the standard function, readLASCatalog(). The benefit would be that you don't need to download all ...
2
votes
1answer
128 views

Extracting (big) rocks from LiDAR data

I have a .las file and want to show the outline of the big rocks located in this area. So far I have done the following: Obtain a ground model from the .las file including the rocks. Calculate ...
0
votes
1answer
65 views

Point cloud - Why don't all the points show up in AGOL or ArcGIS Pro?

Whenever I upload a LAS file in ArcGIS Pro, not all the points are shown. And there are even less points when I upload it to AGOL. Is there a maximum of points ArcGIS Pro and AGOL can show ? If yes,...
0
votes
0answers
29 views

Showing all points of point cloud layer using ArcGIS Pro

I have a point cloud file of some trees. I first convert this to a LAS using some converter tool. I then open this LAS file in ArcGIS Pro and somehow it doesn't show all points there is. Even if I set ...
3
votes
1answer
71 views

What is “degenerated ground point”?

When processing a dtm from lidR::grid_terrain() I'm seeing several warnings that say: There were 4 degenerated ground points. Some X Y Z coordinates were repeated. They were removed. What is a ...
2
votes
1answer
68 views

Difference between classification methods 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
131 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 ...
3
votes
1answer
161 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
333 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
41 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
111 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
32 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
69 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
41 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
68 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
55 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
80 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
183 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
192 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
27 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
83 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
85 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
101 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
739 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
37 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
88 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
201 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
251 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 ...
3
votes
1answer
258 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
64 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,...
6
votes
2answers
355 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
503 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
403 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
401 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
239 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
75 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
80 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 ...