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 [pdal]

PDAL (Point Data Abstraction Library) provides both a suite of command-line applications and programming library for the processing, filtering, translation, and querying of point cloud data in a pipeline fashion that allows complex processing chains to be put together simply.

1
vote
0answers
26 views

Read laz files are stored on IBM COS

I have a problem with reading laz files that are stored at IBM cloud object storage. I have built pywren-ibm library with all PDAL requirements - one of them with docker. I then deploy it to IBM ...
0
votes
0answers
15 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
0answers
23 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....
0
votes
0answers
32 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 ...
0
votes
0answers
98 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
102 views

Getting source bounds when filtering LAS using PDAL?

I'm using PDAL to filter out non ground points to create a DTM along with a DSM also made through PDAL to create a Canopy Height Model using this method. My workflow looks like this. #!/bin/sh # ...
9
votes
3answers
327 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 ...
0
votes
1answer
53 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, ...
0
votes
0answers
47 views

Can any suggest an open source workflow to convert an Esri LiDAR terrain dataset to a LAS file

I’ve got a very large file geodatabase (1TB) that contains LiDAR data stored as a multiple terrain datasets. I’d like to spatially filter the data and export the result as a LAS file without using ...
0
votes
2answers
277 views

Viewing a small pointcloud in QGIS 3.0 3D Viewer

I have a pointcloud in postgis, imported using pdal pipeline and chipper to 600 points per patch. I have the pointcloud (only 5000 points) displayed in QGIS. How do I get QGIS to render in in 3D in ...
0
votes
0answers
44 views

Compiling PDAL with both Python2 and Python3 bindings support

I would like to build PDAL with both together support for Python2 and Python3 bindings (on Ubuntu 16.04). Fig. 1: Screenshot of the Python stuff within cmake-gui. How could I achieve this? If a ...
0
votes
0answers
143 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 ...
0
votes
1answer
116 views

Cropping a point cloud with PDAL also strips it off

Description of the problem: When cropping a .ply point cloud using PDAL pipeline: { "pipeline":[ "input.ply", { "type":"filters.crop", "bounds":"([52435....
2
votes
1answer
458 views

Extract Point Cloud bounding box with PDAL in Python?

Data: I have a point cloud file, let call it "pc_file" (it's not a .las but a .ply file ; https://en.wikipedia.org/wiki/PLY_(file_format) ). Goal to achieve: I am searching a fast way to extract ...
1
vote
1answer
60 views

PDAL pipeline could not connect to server: Connection refused

I am trying to import .las files to the postgres database. My pipeline is: { "pipeline":[ { "type":"readers.las", "filename":"data/pt000002.las", "spatialreference":"EPSG:4326" }, { "type":"...
1
vote
2answers
180 views

How to run PDAL pipeline with docker

I used to use PDAL with conda environment, and in that time I used pipeline command with the simple: sudo pdal pipeline -i /Documents/laz2pg.txt And that did the work. But, now, at the moment, I ...
1
vote
1answer
100 views

PDAL works in Windows command but not in OSGeo4WShell?

I want to import a pointcloud into a PostGIS database. AFAIK you accomplish this with PDAL which comes with OSGeo4W. I was following this tutorial: OSGeo4W LiDAR tutorial and also this tutorial PDAL....
1
vote
1answer
113 views

PDAL error: “Couldn't create filter stage of type 'filters.cpd'”

I would like to use the cpd filter to transform a point cloud, but I am heading to the following error: RuntimeError: Couldn't create filter stage of type 'filters.cpd' which comes from the ...
1
vote
1answer
150 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-...
2
votes
1answer
444 views

How to write multiple .las files from polygon clipping with PDAL?

I am using PDAL (through Python) to crop multiple polygons from a point cloud and store them as separate files. For efficiency reasons I would like to define this in a single pipeline. However, using ...
1
vote
1answer
111 views

PDAL: Argument references invalid/unused stage: 'filters.voxelgrid'

I am running into an error when running pdal translate on Mac OS High Sierra: PDAL: Argument references invalid/unused stage: 'filters.voxelgrid'. This is the command I am using based on a PDAL ...
2
votes
1answer
977 views

Importing LiDAR (.las) data in PostgreSQL with PDAL?

I am following this tutorial to load LiDAR data into PostGIS/PostgreSQL database. The order is: Create extensions: CREATE EXTENSION postgis; CREATE EXTENSION pointcloud; CREATE EXTENSION ...
8
votes
1answer
1k views

How to install PDAL in Windows?

I want to import .las files to PostGIS. As I found out I can do it by using PDAL. However, I cannot find the right way to install it in Windows. I downloaded a folder from here https://www.pdal.io/...
0
votes
1answer
254 views

Formating PDAL Pipeline JSON for crop filter

I'm trying to crop out a section of point cloud using PDAL pipeline filter.crop function. Here's my JSON for pipeline: { "pipeline":[ { "type":"readers.las", "filename":"/data/home-...
3
votes
2answers
411 views

Finding tree canopy width using PDAL?

I want to classify (and separate) houses from trees (high vegetation) in point cloud data using PDAL. I use height filter for this purpose. Our high Vegetation lies in the range between 5 and 10 ...
2
votes
1answer
152 views

Creating filter stage of type filters.height using PDAL?

I use PDAL to find the height of points from LiDAR data. When I run the command: pdal translate myfile.las height.bpf height --writers.bpf.output_dims="X,Y,Z,Height;" It throws me the following ...
2
votes
1answer
172 views

Unexpected argument grid_dist_x using PDAL

I'm trying to convert a .las file to a DTM/DEM using PDAL, but having the issue of multiple bands instead of one. I went through Generating a DTM and writers.gdal but it prompts an error message: ...
4
votes
1answer
83 views

Erratic results from filters.normal in PDAL?

Given this roof structure: I get the following output for the normalx, after using: { "type":"filters.normal", "knn":8 }, (orange to purple : -1 to 1) Comparable situation for ...
2
votes
2answers
3k views

Converting .las to .pcd file using PDAL?

Is it possible to translate .las files to .pcd with PDAL? If so, using which tool? I need an example about how to set the command-line with such tool. If it is not possible (or alternatively), is ...
0
votes
1answer
232 views

PDAL Reader.las and Writer.las warning: 'found invalid value of '0' for point's return number'

I am trying to read and write LAS (*.las) file using PDAL but getting the following warning messages by PDAL's LAS reader and writer for ASPRS LAS files. (pdal pipeline readers.las Warning) C:/...
2
votes
3answers
899 views

Creating a Canopy Height Model (CHM) image from a LAS file on Mac?

Main question: Is there a way of creating a Canopy Height Model from a LAS file using Mac (not wine etc)? I also would like to batch process a lot of LAS files the same way. I should mention that I ...
1
vote
2answers
295 views

Identifying SBET coordinate system and reprojecting it with PDAL?

I've received discrete return LiDAR data from a data provider, which was acquired with an Optech C-300 scanner. In addition to the LAS data, the delivery includes the trajectory information in the ...
1
vote
2answers
1k views

PDAL: Couldn't create filter stage of type 'filters.voxelgrid'

I have the following PDAL pipeline: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Pipeline version="1.0"> <Writer type="writers.pgpointcloud"> <Option name="...
6
votes
2answers
490 views

Are PDAL or PCL capable of producing LiDAR grid metrics?

I typically use Windows-based FUSION to generate grid metrics, which can be used to describe forest structural characteristics. From the FUSION documentation: GridMetrics computes a series of ...
3
votes
1answer
1k views

Viewing point clouds in bpf format?

Is there any software that can be used to view point clouds in bpf format? My preference is for free software that has low-learning curve for quick visualizations. Currently, I convert bpf to las ...
2
votes
1answer
212 views

PDAL removes color attribute from LiDAR point cloud?

I am trying pdal to perform a ground filtering on a point cloud (las file) with colors. I use the pcl option and this tutorial Identifying ground returns using ProgressiveMorphologicalFilter ...
1
vote
1answer
371 views

Displaying point cloud footprint from PostGIS using GeoServer and OpenLayers?

I'm using PDAL to import LAS files into PostGIS. The tutorial provided by boundless is great, and shows how to display the data in patches, but it doesn't cover displaying the table 'footprint'. ...