Skip to content

Commit f5f1d89

Browse files
authored
Update: 3Dtrees: Overviews v1.0.0+galaxy1 (bgruening#1709)
* resolve tool version issue * increase galaxy tool shed version * update xml
1 parent 5e84657 commit f5f1d89

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

tools/3dtrees_overviews/overviews.xml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
<description>generates 3D overview images</description>
33
<macros>
44
<token name="@TOOL_VERSION@">1.0.0</token>
5-
<token name="@VERSION_SUFFIX@">0</token>
5+
<token name="@VERSION_SUFFIX@">1</token>
66
</macros>
77
<requirements>
8-
<container type="docker">ghcr.io/3dtrees-earth/tool_overviews:0.2</container>
8+
<container type="docker">ghcr.io/3dtrees-earth/tool_overviews:@TOOL_VERSION@</container>
99
</requirements>
1010
<command detect_errors="exit_code"><![CDATA[
1111
export MPLCONFIGDIR=\$TMPDIR &&
12-
mkdir ./output_dir/ &&
13-
ln -s $input input.laz &&
14-
python -u /src/run.py
15-
--dataset-path input.laz
12+
mkdir -p ./output_dir/ &&
13+
ln -s '$input' input.laz &&
14+
python -u /src/run.py
15+
--dataset-path input.laz
1616
--max-points '$max_points'
1717
--section-width '$section_width'
1818
--image-width '$image_width'
1919
--image-height '$image_height'
2020
--top-views-deg '$top_views_deg'
2121
--cmap '$cmap'
22-
--camera-distance '$camera_distance'
22+
--camera-distance '$camera_distance'
2323
--output-dir ./output_dir/
24-
]]>
24+
]]>
2525
</command>
2626
<inputs>
2727
<param name="input" type="data" format="laz" label="Point Cloud Dataset" help="LAZ point cloud file to process"/>
@@ -57,7 +57,7 @@
5757
<collection name="section_views" type="list" label="Section View Images">
5858
<discover_datasets pattern="(?P&lt;name&gt;section_.*\.png)" directory="./output_dir/" recurse="false" visible="false" format="png"/>
5959
</collection>
60-
<data name="overview_round" format="gif" label="Overview Animation" from_work_dir="overview_round.gif"/>
60+
<data name="overview_round" format="gif" label="Overview Animation" from_work_dir="output_dir/overview_round.gif"/>
6161
</outputs>
6262
<tests>
6363
<test expect_num_outputs="3">
@@ -85,46 +85,46 @@
8585
</tests>
8686
<help format="markdown">
8787

88-
**What it does**
89-
90-
This tool generates 3D overview visualizations from point cloud dataset. It creates:
91-
92-
1. **Top View Images**: A series of top-down views rotated around the point cloud center
93-
2. **Section Views**: Cross-sectional views from north-south and east-west directions
94-
3. **Overview Animation**: An animated GIF showing the rotation sequence
95-
96-
The tool automatically handles large datasets by downsampling to a manageable number of points while preserving the overall structure and appearance.
97-
98-
-----
99-
100-
**Input**
101-
102-
- **Point Cloud Dataset**: LAZ format point cloud file
103-
- **Maximum Points**: Limit for downsampling (default: 100M points)
104-
- **Section Width**: Width of cross-sectional views in meters
105-
- **Image Dimensions**: Width and height of output images in pixels
106-
- **Top View Rotation**: Angular step size for rotation sequence
107-
- **Color Map**: Visualization color scheme (height-based coloring)
108-
- **Camera Distance**: Distance from point cloud center for rendering
109-
110-
-----
111-
112-
**Output**
113-
114-
- **Top View Images**: Collection of PNG images showing top-down views at different rotation angles
115-
- **Section View Images**: Collection of PNG images showing cross-sectional views
116-
- **Overview Animation**: GIF file showing the complete rotation sequence
117-
118-
-----
119-
120-
**Example**
121-
122-
For a forest point cloud dataset, this tool will generate:
123-
- 36 top view images (every 10 degrees)
124-
- 2 section view images (north-south and east-west cuts)
125-
- 1 animated GIF showing the complete 360° rotation
126-
127-
The images use height-based coloring to show terrain and vegetation structure.
88+
**What it does**
89+
90+
This tool generates 3D overview visualizations from point cloud dataset. It creates:
91+
92+
1. **Top View Images**: A series of top-down views rotated around the point cloud center
93+
2. **Section Views**: Cross-sectional views from north-south and east-west directions
94+
3. **Overview Animation**: An animated GIF showing the rotation sequence
95+
96+
The tool automatically handles large datasets by downsampling to a manageable number of points while preserving the overall structure and appearance.
97+
98+
-----
99+
100+
**Input**
101+
102+
- **Point Cloud Dataset**: LAZ format point cloud file
103+
- **Maximum Points**: Limit for downsampling (default: 100M points)
104+
- **Section Width**: Width of cross-sectional views in meters
105+
- **Image Dimensions**: Width and height of output images in pixels
106+
- **Top View Rotation**: Angular step size for rotation sequence
107+
- **Color Map**: Visualization color scheme (height-based coloring)
108+
- **Camera Distance**: Distance from point cloud center for rendering
109+
110+
-----
111+
112+
**Output**
113+
114+
- **Top View Images**: Collection of PNG images showing top-down views at different rotation angles
115+
- **Section View Images**: Collection of PNG images showing cross-sectional views
116+
- **Overview Animation**: GIF file showing the complete rotation sequence
117+
118+
-----
119+
120+
**Example**
121+
122+
For a forest point cloud dataset, this tool will generate:
123+
- 36 top view images (every 10 degrees)
124+
- 2 section view images (north-south and east-west cuts)
125+
- 1 animated GIF showing the complete 360° rotation
126+
127+
The images use height-based coloring to show terrain and vegetation structure.
128128

129129
</help>
130130
<creator>

0 commit comments

Comments
 (0)