Clarification on command line syntax for crop
Posted: Fri Sep 10, 2021 2:33 pm
I think the documentation on command line control for CloudCompare could be improved. I've made several attempts to crop based on that documentation, and I keep failing. I have a point cloud with dimensions: xmin 1,000,400 ymin 1,005,500 xmax 1,000,850 ymax 1,005,900 zmin 1,000,000 zmax 1,001,200 and here is my last command line attempt.
cloudcompare -SILENT -o -GLOBAL_SHIFT 1000000 1000000 1000000 file.las -CROP 400:5500:0:850:5900:1200
I get this message after successfully loading the point cloud and global shift:
Found one cloud with 56265294 points
[CROP]
[Crop] No point of the cloud 'file' falls inside the input box!
I'm clearly getting the notation of the coordinates incorrect. I tried this as well:
cloudcompare -SILENT -o -GLOBAL_SHIFT 1000000 1000000 1000000 file.las -CROP 400 5500 0 850 5900 1200
and got this message:
[CROP]
Invalid parameter: box extents (expected format is 'Xmin:Ymin:Zmin:Xmax:Ymax:Zmax')
I think tried putting in the full coordinate (that included the global shift), and that didn't work for me either.
Please let me know what I'm missing?
Thanks.
cloudcompare -SILENT -o -GLOBAL_SHIFT 1000000 1000000 1000000 file.las -CROP 400:5500:0:850:5900:1200
I get this message after successfully loading the point cloud and global shift:
Found one cloud with 56265294 points
[CROP]
[Crop] No point of the cloud 'file' falls inside the input box!
I'm clearly getting the notation of the coordinates incorrect. I tried this as well:
cloudcompare -SILENT -o -GLOBAL_SHIFT 1000000 1000000 1000000 file.las -CROP 400 5500 0 850 5900 1200
and got this message:
[CROP]
Invalid parameter: box extents (expected format is 'Xmin:Ymin:Zmin:Xmax:Ymax:Zmax')
I think tried putting in the full coordinate (that included the global shift), and that didn't work for me either.
Please let me know what I'm missing?
Thanks.