Error message with las2dem

816 views
Skip to first unread message

Scott Moranda

unread,
Sep 5, 2016, 2:01:10 PM9/5/16
to LAStools - efficient tools for LiDAR processing
Hello,

I'm a new user of QGIS and LAStools. I have taken my las file and rund lasground and lasclassify. When I run las2dem, I get the following message:

Algorithm las2dem starting...

Please note that LAStools is not "free" (see http://lastools.org/LICENSE.txt)

contact 'martin....@rapidlasso.com' to clarify licensing terms if needed.

llx/lly unspecified. set to lower left bounding box 397422/4.71296e+006.

ncols was unspecified. set to 2594.

nrows was unspecified. set to 1958.

processing 518753 points ... took 0.876 sec.

rastering the triangles and outputting ... ERROR: cannot open file 'temp.8.00030.tmp' for write in SRbufferRows

wine.bin(2588,0x41095000) malloc: *** error for object 0xf883bbc0: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

Converting outputs

Loading resulting layers


The following layers were not correctly generated.

  • Output raster file

You can check the log messages to find more information about the execution of the algorithm


Thinking maybe the file was too large, I used las2las to work with only part of the original file. I don't think it was too big. After filtering out (with drop_y_above filter) with las2las, the resulting file had around 500,000 points. I was able to view smaller lasground I then produced with lasview just fine, so I know that las2las worked successfully.


Any help would be appreciated. Thanks!


Scott






Martin Isenburg

unread,
Sep 6, 2016, 8:31:15 AM9/6/16
to LAStools - efficient command line tools for LIDAR processing
Hello Scott,

neither your input looks very big nor is the output raster that excessively large. The statement "processing 518753 points ... took 0.876 sec." tells me that the TIN was successfully created and that the error happened while outputting temporary rasters. Maybe increase the step size to make the rasters so small that no temp files are needed because maybe you are not allowed to write the temporary files to the location where las2dem is trying to write them. The fact that you are running via "wine" of course makes it possible that the ERROR lies somewhere else but my first try would be to add something such as the following to the "additional command line option(s)" field in QGIS that specifies a file location where you are guaranteed to have write access. 

-temp_files E:\temp

Or else move your LAStools installation on a disk with plenty of space and write permissions.

Regards,

Martin

On Mon, Sep 5, 2016 at 7:11 PM, Scott Moranda <mora...@gmail.com> wrote:
Hello,

I'm a new user of QGIS and LAStools. I have taken my las file and rund lasground and lasclassify. When I run las2dem, I get the following message:

Algorithm las2dem starting...

Please note that LAStools is not "free" (see http://lastools.org/LICENSE.txt)

contact 'martin.isenburg@rapidlasso.com' to clarify licensing terms if needed.

llx/lly unspecified. set to lower left bounding box 397422/4.71296e+006.

ncols was unspecified. set to 2594.

nrows was unspecified. set to 1958.

processing 518753 points ... took 0.876 sec.

rastering the triangles and outputting ... ERROR: cannot open file 'temp.8.00030.tmp' for write in SRbufferRows

wine.bin(2588,0x41095000) malloc: *** error for object 0xf883bbc0: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

Converting outputs

Loading resulting layers


The following layers were not correctly generated.

  • Output raster file

You can check the log messages to find more information about the execution of the algorithm


Thinking maybe the file was too large, I used las2las to work with only part of the original file. I don't think it was too big. After filtering out (with drop_y_above filter) with las2las, the resulting file had around 500,000 points. I was able to view smaller lasground I then produced with lasview just fine, so I know that las2las worked successfully.


Any help would be appreciated. Thanks!


Scott






Reply all
Reply to author
Forward
0 new messages