too many points for lasheight ?

585 views
Skip to first unread message

Michez Adrien

unread,
Sep 15, 2015, 4:08:42 AM9/15/15
to last...@googlegroups.com
Hi everyone,

I'm using lasheight on a too big laz file and i'm getting this error message :

ERROR (TINclean): failed malloc for 65917678 TINtriangles.
ERROR: cannot alloc enough TIN triangles to triangulate 32958839 points.
       contact martin....@rapidlasso.com for help on what to do

The laz file is here.

What can you advise me ? I don't really want to 'subtile' because I've got > 1600 tiles like that, but only 10 to 20 can't be processed with lasheight.

Or maybe there is a way to split (till a number of points which can be handled by lasheight) and re-merge easily to the original tiling pattern?

Regards,

Adrien

Kirk Waters

unread,
Sep 16, 2015, 12:57:21 AM9/16/15
to last...@googlegroups.com
Generally when you get over about 20 million points, you're going to get into trouble with tools that TIN. Maybe you could just split up the 10 to 20 tiles that are giving you problems?

Kirk

Martin Isenburg

unread,
Sep 16, 2015, 3:04:28 AM9/16/15
to LAStools - efficient command line tools for LIDAR processing

Hello,

Simplest would be to run lastile with the '-refine_tiling 15000000' option that will split all tiles that were already created but have more than 15 million points into 4 subtiles. Example:

lastile -i tiles_raw\*.laz ^
            -refine_tiling 15000000 ^
            -cores 8

and just to be sure (cause it is not recursive) once more:

lastile -i tiles_raw\*.laz ^
            -refine_tiling 15000000 ^
            -cores 8

Maybe what you need is an "-unrefine_tiling" option as well once the refined tiles were processed?

Martin @rapidlasso

--

Adrien Michez

unread,
Sep 16, 2015, 5:36:23 AM9/16/15
to last...@googlegroups.com
Hi,

I have other related questions :

I've got an error message saying that my laz file has no 'lastiling VLR'

I guess I have to first run a 'simple' on the files before running a lastile with the '-refin_tiling' parameter ?

Another question, it is not specified in the readme file if the option '-reversible' can be ran on a folder with tiled and non overlapping laz files ?
I mean, does lastile apply buffer only within the original tile or will it add buffer point from other sourounding tiles ?

Regards,

Adrien



----- Mail original -----
De: "Martin Isenburg" <martin....@gmail.com>
À: "LAStools - efficient command line tools for LIDAR processing" <last...@googlegroups.com>
Envoyé: Mercredi 16 Septembre 2015 08:57:23
Objet: Re: [LAStools] too many points for lasheight ?

Hello,

Simplest would be to run lastile with the '-refine_tiling 15000000' option
that will split all tiles that were already created but have more than 15
million points into 4 subtiles. Example:

lastile -i tiles_raw\*.laz ^
-refine_tiling 15000000 ^
-cores 8

and just to be sure (cause it is not recursive) once more:

lastile -i tiles_raw\*.laz ^
-refine_tiling 15000000 ^
-cores 8

Maybe what you need is an "-unrefine_tiling" option as well once the
refined tiles were processed?

Martin @rapidlasso

On Sep 15, 2015 10:08 AM, "Michez Adrien" <adrien...@ulg.ac.be> wrote:

> Hi everyone,
>
> I'm using lasheight on a too big laz file and i'm getting this error
> message :
>
> ERROR (TINclean): failed malloc for 65917678 TINtriangles.
> ERROR: cannot alloc enough TIN triangles to triangulate 32958839 points.
> contact martin....@rapidlasso.com for help on what to do
>
> The laz file is here
> <https://edc.ulg.ac.be/merci/00690043_compressed_4ab132b2fc3005c38e4b_.laz>
> .

Martin Isenburg

unread,
Sep 17, 2015, 3:17:30 AM9/17/15
to LAStools - efficient command line tools for LIDAR processing

Hello,

In order to use '-refine_tiling 100000000' you must have created the tiles with lastile to start with.

Most people do not need the option '-reversible'. This is only needed to undo the tiling of a single (large) file ... usually a flight line. If your tiles are not created lastile you could manually retile only the tiles that are too large with the '-reversible' option in separate lastile calls that process one tile each to a new name , process all tiles, and then reverse the refined tiles with individual calls to lastile for each set of refined tiles to get back the original extends.

If there is another question please add a complete description of your current workflow because it is hard to answer without a full understanding of your process ...

Regards,

Martin @rapidlasso

Reply all
Reply to author
Forward
0 new messages