Re: [LAStools] Error: cannot open 'file_list.txt'

561 views
Skip to first unread message

Martin Isenburg

unread,
Aug 3, 2012, 12:06:22 PM8/3/12
to last...@googlegroups.com
Hello Aaron,

it appears that you do not have write permissions in the directory
from which you run the tools so that the LAStools GUI cannot output
the temporary file "file_list.txt" to the disk (from where it is then
read by larmerge.exe). Try running the tools from a different
directory in which you have write permission. Eventually I will either
add an option to specify a temporary directory or simply use the
output directory. In fact, in your case it looks as if the output file
merge.las would also not be able to be written since it will go into
the same default directory as the temp file "file_list.txt", namely
the directory from where the tools were called.

Cheers,

Martin @rapidlasso

On Fri, Aug 3, 2012 at 8:56 AM, Aaron Smith <asm...@eqxanalytics.com> wrote:
> Hi all,
>
> I'm attempting to run lasmerge to stitch together a couple of .las 1.0
> files.
>
> When I attempt to run the command:
> lasmerge -lof file.txt -o "merged.las"
>
> I get the error: cannot open 'file_list.txt'
>
> I also get the same error if I try to open the pair in the viewer. but both
> will open correctly on their own.
>
> Any assistance will be greatly appreciated.
>
> Thanks,
>
> Aaron
>
>
> --
> Download LAStools at
> http://lastools.org/
> Visit the LAStools group at
> http://groups.google.com/group/lastools/
> Be social with LAStools at
> http://www.facebook.com/LAStools
> http://www.twitter.com/LAStools

Martin Isenburg

unread,
Aug 3, 2012, 4:04:07 PM8/3/12
to last...@googlegroups.com
Hi,

indeed. There seems to be an issue in the latest release. Let me fix
that. For the time being you can simply run it in the windows DOS
command line (go to START->Run... and type "cmd.exe" and use "cd
C:\lastools\bin" or wherever it is to get to the folder where lasmerge
is. From there you can then run by typing

lasmerge -lof file_list.txt -o "merged.las"

since the "file_list.txt" should have gotten generated or you simply run

lasmerge -i E:\my_lidar\file1.las E:\my_lidar\file2.las -o "merged.las"
or
lasmerge -i C:\my_lidar\*..las -o "merged.las"

I will get this fixed asap.

Cheers,

Martin
Reply all
Reply to author
Forward
0 new messages