Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point cloud conversion - Export to vector with virtual point cloud as datasource fails #60323

Closed
2 tasks done
PeterDrexel opened this issue Jan 28, 2025 · 3 comments
Closed
2 tasks done
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@PeterDrexel
Copy link

PeterDrexel commented Jan 28, 2025

What is the bug or the crash?

Using Processing Toolbox - Point cloud conversion - Export to vector with virtual point cloud as datasource fails

Steps to reproduce the issue

  1. Open a vpc (in my case referencing ~100 *.copc.laz -tiles) in QGIS -> Point show up in QGIS

  2. In Processing-Toolbox open Point cloud conversion - Export to vector - select the vpc as input layer and set the crop extent to a rectangle containing a portion of 4 vpc-tiles. set Export gpkg and press RunLogfile Shows:

Algorithm started at: 2025-01-28T14:12:08
Algorithm 'Export to vector' starting…
Input parameters:
{ 'ATTRIBUTE' : [], 'FILTER_EXPRESSION' : '', 'FILTER_EXTENT' : '-50079.942900000,-49901.336300000,242437.954200000,242556.515000000 [EPSG:31254]', 'INPUT' : 'vpc://d:/vlbg/pc2023.vpc', 'OUTPUT' : 'D:/out.gpkg' }
wrench command: C:/PROGRA~1/QGIS34~1.1/apps/qgis/./pdal_wrench.exe to_vector --input=d:\vlbg\pc2023.vpc --output=D:/out.gpkg "--bounds=([-50079.9, -49901.3], [242438, 242557])" --threads=48
0 - done. 
Process completed successfully
Execution completed in 41.93 seconds
Results:
  OUTPUT: D:/out.gpkg
Loading resulting layers
The following layers were not correctly generated.
• D:/out.gpkg
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm._** 
  1. In fact the tool does not create the geopackage "out.gpkg"in the Folder "d:/". Instead it creates a Folder named "d:/out/" containing geopackages for all the files referenced in the vpc, but only the 4 tiles overlaping the crop-extent contain points.

Versions

3.40

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@PeterDrexel PeterDrexel added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 28, 2025
@alexbruy
Copy link
Contributor

This is not a bug. to_vector command of wrench tool supports VPC only on a per-file basis.

@saberraz
Copy link
Contributor

This looks like a wider discussion to have VPC as a propoer in/out file for the PC processing toolbox. I have opened #60336 to cover all algorithms.

@PeterDrexel
Copy link
Author

I would still call it a bug because the tool does offer to select a vpc as source and does everything but not the final step.
We are willing to fund this and other issues in relation to PDAL wrench (#60336)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

3 participants