strange result importing CSV

Feel free to ask any question here
Post Reply
hwilde
Posts: 4
Joined: Fri Apr 24, 2015 1:44 am

strange result importing CSV

Post by hwilde »

Hello I am having strange results trying to import a simple CSV file. The structure of the CSV file is simple X, Y, Z, intensity (scalar for color). Attached are the import dialog screenshot and the result screenshot in CloudCompare. There are only two tiny points at the extreme corners. No amount of viewing or camera settings yields any better rendering. The sample csv file is also attached. Please help!
Attachments
cloudcompare-screenshot2.png
cloudcompare-screenshot2.png (155.61 KiB) Viewed 2501 times
cloudcompare-screenshot1.png
cloudcompare-screenshot1.png (37.34 KiB) Viewed 2501 times
velo_in_rtk_frame_output_1423594562.849-xyz.csv.zip
(22 Bytes) Downloaded 291 times
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: strange result importing CSV

Post by daniel »

Hard to tell, because the zip file is empty (?!).

I guess there must be some points in the file with coordinates very different from the others (maybe default (0,0,0) or equivalent points).
Daniel, CloudCompare admin
hwilde
Posts: 4
Joined: Fri Apr 24, 2015 1:44 am

Re: strange result importing CSV

Post by hwilde »

For the record the problem was the first line in the file was the header, the second line was always (nan, nan, nan...)

On import if I pick Skip 2 lines, then it works ok. If the first line is nan, then it produces the strange corners behavior. I fixed the problem upstream to filter out nan values.

Thanks
Post Reply