pointzip.exe Issues

133 views
Skip to first unread message

jaff...@gmail.com

unread,
Aug 14, 2018, 2:26:27 PM8/14/18
to LAStools - efficient tools for LiDAR processing
Hi Everyone,

I have point cloud data, 7 GB .pts that needs to converted to .las for GIS purposes. pointzip.exe (from http://www.cs.unc.edu/~isenburg/pointzip/) worked great for me with smaller files but  crashes when I try to convert this file. I am using xyziRGB and mm precision.

Thanks for the help!

Zach

Martin Isenburg

unread,
Aug 14, 2018, 5:17:00 PM8/14/18
to LAStools - efficient command line tools for LIDAR processing
Hello Zach,

could you send the first few lines of the *.pts file? You can display those by opening a cmd.exe console window (press Windows-key plus 'r' and type cmd.exe) and by changing the path to the right drive and directory and then by typing the command "more sample.pts"? Below a little example:

C:\Windows\System32>e:

E:\LAStools\bin>cd ..\

E:\LAStools>cd ..\

E:\>c:

C:\Windows\System32>e:

E:\>cd LAStools

E:\LAStools>cd bin

E:\LAStools\bin>more sample.pts
4348
-5.325668 4.434586 -0.063736 11995 29555 22873 39064
-5.325821 4.434708 -0.068069 11475 29555 22873 39064
-5.325516 4.451462 -0.070389 11475 29555 22873 39064
-5.325089 4.439743 -0.070908 11475 29555 22873 39064
-5.324570 4.445053 -0.063797 11995 29555 22873 39064
-5.325302 4.439926 -0.066574 11475 29555 22873 39064
-5.324203 4.444687 -0.068130 11475 29555 22873 39064
-5.325729 4.451645 -0.066025 11475 29555 22873 39064
-5.324753 4.462234 -0.070663 11475 29555 22873 39064
-5.324539 4.456375 -0.072556 10954 29555 22873 39064
-5.323044 4.466507 -0.072830 10954 29555 22873 39064
-5.324600 4.456436 -0.063858 11995 29555 22873 39064
-5.324387 4.456253 -0.068192 11475 29555 22873 39064
-5.324234 4.461777 -0.066269 11475 29555 22873 39064
-5.322525 4.466080 -0.068436 11475 29555 22873 39064
-5.322189 4.465775 -0.064072 11995 29555 22873 39064
-5.322495 4.477432 -0.073105 10954 29555 22873 39064
[...]


Regards,

Martin @rapidlasso

Zachary Jaffe

unread,
Aug 16, 2018, 10:02:21 AM8/16/18
to last...@googlegroups.com

Hi Martin,

 

Attached is the first few lines of my *.pts file.

 

Thank you very much,

 

Zach

pts lines.PNG

Martin Isenburg

unread,
Aug 17, 2018, 1:56:56 PM8/17/18
to LAStools - efficient command line tools for LIDAR processing
Hello,

from the screenshot that you've send it seems you have no RGB information in the file. So "xyzi" would be the right option to use. Alternatively you can use txt2las.exe from LAStools and use this line:

txt2las -i cyclone.pts -parse xyzi -ipts -o cyclone.las

or

txt2las -i cyclone.pts -parse xyzi -ipts -o cyclone.laz

http://rapidlasso.com/LAStools
http://rapidlasso.com/txt2las
http://lastools.org/download/txt2las_README.txt

Regards,

Martin @rapidlasso

jaff...@gmail.com

unread,
Aug 27, 2018, 12:18:24 PM8/27/18
to LAStools - efficient tools for LiDAR processing
Thanks Martin, that solved it!

tara_...@berkeley.edu

unread,
Oct 9, 2018, 10:07:27 PM10/9/18
to LAStools - efficient tools for LiDAR processing
Hello Martin,

Could you help me with a similar issue? I am trying to use pointzip.exe to convert a .pts file to .laz. and the program keeps crashing. My file is 3.83 GB and the format is:

32.39952 22.47958 0.29389 31 124 106 118
33.04241 22.38116 0.14936 53 109 92 126
32.92134 22.31556 0.14656 29 91 82 101
32.98038 22.40282 0.21448 28 91 94 99

I selected xyziRGB and a precision of mm. When I tried the same process with a sample file, size ~10 KB, it worked fine. Is my issue just the file size?

Thanks,
Tara

Martin Isenburg

unread,
Oct 9, 2018, 10:18:43 PM10/9/18
to LAStools - efficient command line tools for LIDAR processing
Hello,

could you include the very first line of the PTS file? That has the number of points. The current (rather old) version of pointzip only supports up to 2 billion points or so ...

Martin

tara_...@berkeley.edu

unread,
Oct 9, 2018, 10:37:07 PM10/9/18
to LAStools - efficient tools for LiDAR processing
yes, the first line is 103386977.

Is there any chance I should use xyzsRGB?

Thank you,
Tara

Martin Isenburg

unread,
Oct 10, 2018, 7:58:55 AM10/10/18
to LAStools - efficient command line tools for LIDAR processing
Hello,

I suggest you use the txt2las tool instead (found in the ./LAStools/bin subfolder).


where you can specify the following command line explicitely

txt2las -i in.pts -ipts -parse xyzsRGB -o out.laz 

Regards.

Martin @rapidlasso


Reply all
Reply to author
Forward
0 new messages