Wrong coordinates when loading .dp file

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
Magnus
Posts: 3
Joined: Mon Mar 28, 2016 7:39 pm

Wrong coordinates when loading .dp file

Post by Magnus »

Hello,

I get wrong coordinates when i load a .dp file, but once i export it as a .ply file in the DPI-8, the coordinates get correct, but the point cloud get vertical holes. Any idea of what could be wrong?

dp file.PNG
dp file.PNG (17.88 KiB) Viewed 2983 times
ply file.PNG
ply file.PNG (16.46 KiB) Viewed 2983 times
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Wrong coordinates when loading .dp file

Post by daniel »

These coordinates are indeed insanely big!? Is this file coming directly out of a DP device? Did you do something in particular before exporting it?

I guess the holes come from the loss of precision (as even the Global Shift & Scale mechanism is failing here).
Daniel, CloudCompare admin
Magnus
Posts: 3
Joined: Mon Mar 28, 2016 7:39 pm

Re: Wrong coordinates when loading .dp file

Post by Magnus »

I've georeferenced the cloud with the DP device. The .dp file and the ply file should be exactly the same.

here's a screenshot of the holes:
Attachments
holes in ply.PNG
holes in ply.PNG (102.46 KiB) Viewed 2980 times
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Wrong coordinates when loading .dp file

Post by daniel »

The stripes are definitely due to the loss of accuracy somewhere in the process. I bet the coordinates are so huge because they are expressed in millimeters.

I'll add some more zeros to the 'Global Shift & Scale' shifting capability so as to be able to cope with this case.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Wrong coordinates when loading .dp file

Post by daniel »

Okay, I modified the dialog so that you (or CC itself) can input shifting values above 1.0e9. It should fix your issue.

This will be available in the next official release (version 2.7). Should be out at the end of the week.
Daniel, CloudCompare admin
Magnus
Posts: 3
Joined: Mon Mar 28, 2016 7:39 pm

Re: Wrong coordinates when loading .dp file

Post by Magnus »

Great! Thanks for your help.
Post Reply