# HG changeset patch
# User bgruening
# Date 1770372966 0
# Node ID bd474d8124e3a4a782a59056ed48ce8c30924f3f
# Parent 3104b1edd779f6e8ba7c4968804e0dcc49bf1d1e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/3dtrees_potree commit b02bdb3361bc38ec2bc5efce09deed609eee26ba
diff -r 3104b1edd779 -r bd474d8124e3 3dtrees_potree.xml
--- a/3dtrees_potree.xml Tue Feb 03 19:08:35 2026 +0000
+++ b/3dtrees_potree.xml Fri Feb 06 10:16:06 2026 +0000
@@ -2,7 +2,7 @@
Convert LAS/LAZ point clouds to Potree octree format for web visualization1.0.0
- 0
+ 1ghcr.io/3dtrees-earth/3dtrees_potree:@TOOL_VERSION@
@@ -23,14 +23,23 @@
$keep_chunks
$no_chunking
$no_indexing
+ $generate_page
#if $generate_page
- --generate-page '$generate_page'
+ &&
+
+ ## Setup HTML with extra files for Galaxy viewing
+ cp output/potree-vis.html '$viewer_html' &&
+ mkdir -p '$viewer_html.files_path' &&
+ cp -r /opt/PotreeConverter/resources/page_template/libs '$viewer_html.files_path/' &&
+ cp -r output/pointclouds '$viewer_html.files_path/' &&
+ chmod -R a+rX '$viewer_html.files_path'
#end if
2>&1
]]>
+
@@ -46,25 +55,32 @@
-
- ^[a-zA-Z,]
-
+
+
+ generate_page
+
-
-
+
-
-
+
+
+
+
+
@@ -85,11 +101,6 @@
-
-
-
-
-
@@ -133,17 +144,19 @@
When **Generate Page** is specified (e.g., "viewer"):
-- **{name}** (HTML): Ready-to-use HTML page for visualizing the point cloud
+- **{name} Potree Viewer** (HTML): Interactive viewer that can be viewed directly in Galaxy
+ - Note: This tool is meant for visualization - other tools (eg. measurements, camera) may not work properly
+ - Includes libs/ and pointclouds/ as extra files
-Note: The libs/ folder required for the web viewer is not included in outputs.
-For production use, get the Potree libraries from: https://github.com/potree/potree/tree/develop/libs
+- **{name} Potree Viewer Package (Download)** (ZIP): Self-contained package for local use
+ - Download, extract, and open files in PotreeViewer.
-----
**Workflow Integration**
This tool converts point cloud data to an optimized web visualization format using PotreeConverter's octree algorithm.
-The output can be served via a web server and visualized using the Potree viewer.
+The output can be downloaded and visualized using the Potree viewer.