Hot answers tagged

37 votes
Accepted

numpy array to GTiff using rasterio without source raster

This ended up being more straightforward than I thought, with all of the capabilities lying in the rasterio.open function. Here is an example using a proj4 string instead of wkt. import rasterio ...
Bryce Frank's user avatar
  • 1,312
23 votes
Accepted

Convert HDF5 LiDAR data (from GEDI) to LAS or LAZ

It's not possible to convert GEDI .h5 file to LAS file as including all data. Because .h5 file includes a lot of information about a point. Also, since LAS file has certain attributes for a point not ...
Kadir Şahbaz's user avatar
20 votes

QGIS 2.14.1 LAStools install error: "wrong value for parameter 'Msys folder'..."

According to Diego Alonso's comments from the mappingGIS blog1, this error is related to QGIS version 2.14. With the upgrade, the standalone installer eliminated the msys folder from GRASS 7 ...
Andre Silva's user avatar
  • 10.2k
19 votes
Accepted

Seeking point cloud (LiDAR) data?

I decided to merge other answers with mine and organize them into a tabular format. I think it is easier to read and manage for future visitors: The table can be accessed from the following link in ...
17 votes

Viewing LIDAR data (.las) in QGIS?

QGIS 3.18+ supports point cloud visualisation natively.
Peter Petrik's user avatar
  • 1,415
15 votes

Difference between LAStools, libLAS and PDAL?

The answer by Howard Butler pretty much sums it up. Some more background. When I created the first LAStools and the LASlib library that the tools are build upon I was a postdoc at UC Berkeley and ...
LAStools's user avatar
  • 1,174
14 votes
Accepted

LAStools plugin in QGIS: ''The system cannot find the path specified."

Be aware one needs to have the LAStools plugin installed, but also the software per se. The LAStools plugin description says: ... . You also need to download the LAStools software from http://...
Andre Silva's user avatar
  • 10.2k
13 votes
Accepted

Methodology for creating accurate drainage networks (and catchments) from high resolution LiDAR DEM?

Have you consider to use GRASS GIS analysis? I have expirience that GRASS algorithms have very good accurance on hydrology analysis. For example, I want to generate something like drainage network on ...
david_p's user avatar
  • 1,773
13 votes

Thinning large LiDAR point cloud?

It sounds like you want either a voxel-based thinning or maybe a Poisson-based one. PDAL can do either. See PDAL's tutorial on the topic at https://pdal.io/tutorial/sampling/index.html . As far as ...
Howard Butler's user avatar
12 votes
Accepted

Difference between LAStools, libLAS and PDAL?

libLAS was developed to provide read/write support for LAS and it was modeled on LAStools which at the time was not released under an open source license. In the subsequent years, many parts of ...
Howard Butler's user avatar
11 votes

What LiDAR processing tools are available in Python?

I have recently released an open-source (MIT) stand-alone (i.e. no dependencies) library called WhiteboxTools for performing many types of geospatial analysis, including LiDAR data processing. The ...
WhiteboxDev's user avatar
10 votes

Configuring lidR catalog to overwrite raster output (with different extension)?

Your question is related to LAScatalog processing engine tuning. A topic not documented in the official documentation. The only one existing documentation at the time being (june 2019) is a wiki page ...
JRR's user avatar
  • 9,264
9 votes

Converting between coordinate systems for LAS file using LASPY

You should check what the scale and offset are for your file. This can be done as follows: van_taken.header.scale van_taken.header.offset This almost looks like an overflow error to me. The lower ...
Grant Brown's user avatar
9 votes
Accepted

Converting .las to .pcd file using PDAL?

The PDAL PCD Writer can write .pcd files. For it to work, you must have linked the PCL libraries at compile time. The PDAL OSGeo4W build does not have PCL support. If you are unable to build PDAL with ...
Howard Butler's user avatar
9 votes
Accepted

Finding pixels in DEM with 5% slope or less?

You mention 3D Analyst so I am assuming you have ArcGIS. Use the tool ArcToolbox-3D Analyst Tools-Raster Surface-Slope to create a slope surface from your LiDAR data. Use the tool ArcToolbox-3D ...
GBG's user avatar
  • 9,604
9 votes
Accepted

Editing LiDAR point cloud to remove noise/outliers present below and above ground?

You seem to have outliers: i) below the ground surface; ii) above the ground surface and vertically among other above ground real features; iii) above ground points with height greater than all ...
Andre Silva's user avatar
  • 10.2k
9 votes

Installing LAStools in QGIS 3.0?

Install QGIS 3.2 and goto the plugin manager. A brand-spanking new set of LAStools toolboxes can be found by searching for LAStools in the Plugin repository or download the latest version here: http:/...
LAStools's user avatar
  • 1,174
9 votes
Accepted

Converting GEDI HDF5 LiDAR data to a format readable in GIS

First, I have to say that there are too many datasets that I don't know what it means in the file. I will try to explain step by step: Import necessary packages import h5py import pandas as pd import ...
Kadir Şahbaz's user avatar
8 votes

Viewing LIDAR data (.las) in QGIS?

Update: As stated in Peter's answer: QGIS 3.18+ supports point cloud visualisation natively. Some documentation for reference: QGIS 3.18 changelog. Installation guide. The crowdfunding initiative. ...
Andre Silva's user avatar
  • 10.2k
8 votes
Accepted

Merging .asc files = "The command line is too long"

This is a pretty long standing problem with the gdal_merge tool accessed through the user interface. The easiest way to get around it is to first build a virtual raster (VRT) file and then (if ...
Ed Rollason's user avatar
  • 3,878
8 votes

Creating DEM from LAS file without using LAStools?

It is possible to generate a DEM from a las file within QGIS using Fusion. Use this tutorial to enable FUSION's tools in QGIS (works up to QGIS 2.18 version*). It is written for LAStools, but it is ...
Andre Silva's user avatar
  • 10.2k
8 votes
Accepted

Can LiDAR differentiate between rock and soil?

In terms of something akin to a spectral signature, the only way would be through the return intensity values, which are rarely calibrated. Unfortunately, there is really nothing expected in the ...
Jeffrey Evans's user avatar
8 votes

Converting LiDAR files from LAZ to LAS format

For running LASzip from the command prompt window it is also necessary to specify the path of the input file. For example, suppose the laszip.exe file is installed under the drive D: (D:\LASzip\...
Andre Silva's user avatar
  • 10.2k
8 votes

Explaining laser scanning distortions on water surfaces?

In some cases, water will reflect the LIDAR beam away from the sensor (specular effect at some incidence angle) or absorb all its energy (water has a low reflectance in near Infrared.) As a results, ...
radouxju's user avatar
  • 49.5k
7 votes
Accepted

Open a SBET file format in GIS software

PDAL has an SBET reader (and a writer too) that you could use to convert the file into text and then on to most other formats. pdal translate myfile.sbet output.txt When working with Lat/Lon default ...
Howard Butler's user avatar
7 votes
Accepted

Are PDAL or PCL capable of producing LiDAR grid metrics?

PDAL doesn't provide anything like FUSION's "GridMetrics" at this time. We've been interested in useful statistics or metrics that PDAL could compute for algorithm builders, but we haven't gotten ...
Howard Butler's user avatar
7 votes

Identifying individual trees and segmenting crowns from LiDAR CHM data?

I would encourage you to investigate the spatial wavelet analysis (SWA) method. This is an automated object oriented approach used to identifying individual tree canopies. The method has the potential ...
Aaron's user avatar
  • 51.6k
7 votes

QGIS 2.14.1 LAStools install error: "wrong value for parameter 'Msys folder'..."

2.18 user here - After many hours of trying to get the LAStools product functional I finally found this solution to the \msys error - namely to simply add the folder as suggested here - works BUT I ...
user88851's user avatar
  • 223
7 votes

Finding tree canopy width using PDAL?

First, for the answers proposed here, you probably do not want to use the ferry filter to push HeightAboveGround to Z, at least not prior to segmentation, as the act of normalizing heights involves ...
chambbj's user avatar
  • 108
7 votes
Accepted

How to install PDAL in Windows?

You downloaded the source code, not a prebuilt binary. If you read the PDAL download page you linked to you will see: Binaries ... Windows Windows builds are available via Conda Forge (64-bit only). ...
user2856's user avatar
  • 65.3k

Only top scored, non community-wiki answers of a minimum length are eligible