Skip to content

Add support for multiple tiled vpc overviews#86

Merged
JanCaha merged 6 commits into
PDAL:mainfrom
uclaros:multi-overview
Apr 15, 2026
Merged

Add support for multiple tiled vpc overviews#86
JanCaha merged 6 commits into
PDAL:mainfrom
uclaros:multi-overview

Conversation

@uclaros
Copy link
Copy Markdown
Collaborator

@uclaros uclaros commented Mar 13, 2026

Allow creating multiple tiled overview files for a vpc.
A new option --overview-length is added to pdal_wrench build_vpc.
The name is modeled after pdal split's and pdal tile's --length parameter, and sets the maximum length/width of overview files to generate.
The decimation logic is preserved (still picking every 1000th point) but the output is tiled on a grid of size overview-length, generating files named <stem>-overview-1.copc.laz etc.
All overviews intersecting a vpc's file are added as extra assets with role overview.

@JanCaha
Copy link
Copy Markdown
Collaborator

JanCaha commented Apr 14, 2026

Looks good.

Would it be possible, to create simple test, that would just check that after running VPC with the parameter the overviews exist and possibly check for number of overviews generated? So that there is at least some basic smoke test for the functionality? There is a pytest fixture laz_files that will provide list of files for VPC, which you could use.

@JanCaha JanCaha self-requested a review April 14, 2026 09:55
@JanCaha JanCaha merged commit 70da3c1 into PDAL:main Apr 15, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants