Page 1 of 1

Global shift/scale adjustment

Posted: Wed Jul 12, 2023 3:37 am
by abrownperth
Hello,

I was hoping it would be possible to as a stop gap measure add the ability to override the import so it always uses the previous input without flashing up the warning "Warning: previously used shift and/or scale don't seem adapted to this entity". This slows down the import process when dealing with point clouds that span a large area.
global shift2.PNG
global shift2.PNG (30.32 KiB) Viewed 10136 times
Would it be beneficial to run the global shift/scale adjustment at the end of importing all your files so that the global shift used it optimized for all of the files not just the first file loaded in?

kind regards,

Andrew

Re: Global shift/scale adjustment

Posted: Fri Jul 14, 2023 9:14 am
by daniel
Hum, that would kill a bit the purpose of this warning... Another way to do that, if you know what you are doing and measure the consequences, is to change the thresholds for this warning to appear (via 'File > Global Shift settings'). I would recommend only changing them while you are importing clouds from large areas, and then turning them back to their default parameters.

And sadly, no, we can't wait to apply this shift, as the whole purpose is to store the coordinates in twice as less memory (32 bits instead of 64 bits). Waiting for all the points to be loaded to then compress them in memory would be too late.

Re: Global shift/scale adjustment

Posted: Thu Jul 20, 2023 5:10 am
by abrownperth
Hi Daniel,

cheers for the tip. i had played with adjusting the threshold by an order of magnitude.

Okay that makes sense as to why it couldn't be done after loading the data in. However what if we approached it differently?

Cloud compare clearly checks the file it loads and determines the minimum and maximum X,Y,Z values before suggesting a shift. Would it be possible to have cloud compare check all of the datasets to find the maximum and minimum X and Y values of the full dataset before then recommending a shift to use when importing the data?

Re: Global shift/scale adjustment

Posted: Tue Jul 25, 2023 6:21 am
by daniel
Ah ah, no, CloudCompare only deduces the shift from the first point. It would be very long to read the whole file once (without storing the data in memory), and then parse it a second time (especially with compressed LAZ files for instance).