Canupo CLI is not classifying or saving the SF?
Posted: Fri Oct 18, 2024 1:32 pm
Hi,
I am trying to use the CLI in CC to loop over 90 .laz files and classify them with CANUPO. Everything seems to work, the .laz files are saved, they have less kbs than the originals, but there are no classifications added. The original classes are what is found on the classified .laz. When I open it up in CC / lidR I cant find any new scalar fields added or the classifications changed.
Here is my powershell script that I am running.
# Set the path to CloudCompare executable
$CC_PATH = "C:\Program Files\CloudCompare\CloudCompare.exe"
# Define the directories to loop through
$directories = @(
"G:\dir\to\Group1",
"G:\dir\to\Group2",
"G:\dir\to\Group3"
)
# Define the output directory for the classified files
$output_base_dir = "G:\dir\to\vegetation_classified"
# Define the path to the CANUPO classifier
$classifier_path = "C:\Desktop\CloudCompare\otira_vegetsuper.prm"
# Loop through each directory
foreach ($dir in $directories) {
# Get all .laz files in the current directory
$laz_file
I am trying to use the CLI in CC to loop over 90 .laz files and classify them with CANUPO. Everything seems to work, the .laz files are saved, they have less kbs than the originals, but there are no classifications added. The original classes are what is found on the classified .laz. When I open it up in CC / lidR I cant find any new scalar fields added or the classifications changed.
Here is my powershell script that I am running.
# Set the path to CloudCompare executable
$CC_PATH = "C:\Program Files\CloudCompare\CloudCompare.exe"
# Define the directories to loop through
$directories = @(
"G:\dir\to\Group1",
"G:\dir\to\Group2",
"G:\dir\to\Group3"
)
# Define the output directory for the classified files
$output_base_dir = "G:\dir\to\vegetation_classified"
# Define the path to the CANUPO classifier
$classifier_path = "C:\Desktop\CloudCompare\otira_vegetsuper.prm"
# Loop through each directory
foreach ($dir in $directories) {
# Get all .laz files in the current directory
$laz_file