Trouble importing files (Txt.,LAS,CSV..)

Feel free to ask any question here
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by daniel »

Decimal degrees?! Oh that's why then... right now CC expects Cartesian coordinates only. So the problem is more with X and Y ;)

I was about to suggest that we could add an optional scale factor (per dimension) in the "ASCII File" loading dialog, but I'm not sure it will be enough... To convert those values in meters, do you only need to apply a scale coefficient or do you need trigonometry?
Daniel, CloudCompare admin
AMBlair
Posts: 7
Joined: Tue Apr 22, 2014 7:50 pm

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by AMBlair »

Ahh I see. Thanks for catching that! I suppose I could assign a scale coefficient to each dimension in each file before importing into CC, assuming CC does not have a function to convert entire input files..
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by daniel »

Indeed you can't apply a scaling coefficient BEFORE loading the data right now. But I think I'll add the feature I was talking about (i.e. being able to input per column scaling directly in the loading dialog) in the next version. It can be really useful sometimes and not only for this issue.
Daniel, CloudCompare admin
AMBlair
Posts: 7
Joined: Tue Apr 22, 2014 7:50 pm

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by AMBlair »

Well I suppose I've got some converting to do! Thanks for all your time and patience Daniel, it is much appreciated. I've only heard great things about CC so am very anxious to try it out. I'll be sure to check back in the future for any added features!
aquila
Posts: 1
Joined: Mon Oct 26, 2015 9:15 am

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by aquila »

Hi Daniel,
I think I have a similar data set. How did you multiply the Z coordinates before loading the cloud?
Cheers
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by daniel »

Well, in the previous case the data was wrongly scaled before importing it in CC. And you can only rescale it AFTER having loaded it with the 'Edit > Multiply/scale' method.

And pay attention that if your file has non Cartesian coordinates (e.g. decimal degrees) then it's not only a matter of scaling.
Daniel, CloudCompare admin
old_scout
Posts: 1
Joined: Wed Aug 08, 2018 12:04 pm

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by old_scout »

I'm having the exact same issue. Thanks for posting. I'll work in the recommended fixes.

Also, in regards to "Does CC complains about big coordinates or something like that?"... after producing the infamous straight line, the processing wheel in the upper left corner keeps spinning and has yet to stop - even after about 20 minutes or so. What's the implication there?? (see below)

Image
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by daniel »

Oh the spinning wheel is only here to show that the LOD mechanism is either currently displaying the points little by little. This only means that your cloud is big ;)
Daniel, CloudCompare admin
amandapstarr
Posts: 1
Joined: Sun Oct 07, 2018 10:56 pm

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by amandapstarr »

Hi

Also having issues importing .PTS files. (Using version 2.6.3). Only part of my clouds import successfully. Other points are missing, or scattered. I've attached an image of what the complete point cloud should look like, and how it's coming through in CC. The strange thing is that it has worked previously without any issues. As far as I can tell I'm not doing anything differently. Puzzled!
Attachments
Broken in CC
Broken in CC
CC.JPG (19.1 KiB) Viewed 2242 times
Complete cloud
Complete cloud
cyclone.PNG (215 KiB) Viewed 2242 times
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Trouble importing files (Txt.,LAS,CSV..)

Post by daniel »

It's maybe an issue with the graphic card driver? (it doesn't display all the points?)

Anyway, as this version is very old, my only answer can be: use the latest version ;)
Daniel, CloudCompare admin
Post Reply