Hi there,
As Terje said do first lasindex (this tool will figure out who is the neighbour tile)
lasindex.exe -i %DATA%\*.laz -append -cores 30
and then you could do a buffer of 50m
lastile.exe -i %LIDAR% -tile_size 500 -buffer 50 -odir %TILE_b50% -olaz (the output name would be XXXXX_YYYYY.laz, so you know the location of the tile)
Then do the DTM with a buffer of 50m, be aware that the borders of these rasters would be wrong because of the triangulation
blast2dem.exe -i %TILE_b50%\*.laz -keep_class 2 -step 0.3 -odir %DTM_b50% -odix _dtm -otif -cores 30
You can’t remove a buffer in a raster (-remove_buffer) so you would need to compute where is your low left coordinate to delete the 50m buffer.
In this case I only want to remove 20m from the original 50m buffer ( I do this in python, extracting the coordinates from the name and take off 20m of the buffer), but may be Martin could create an automatic switch -remove_buffer 20 ???
lasgrid.exe -i %DTM_b50%\name_dtm.tif -step 0.3 -ncols 1800 -nrows 1800 -ll (xll-20) (yll-20) -odir %DTM%\name_dtm.tif
Good luck!
Susana
Yes, that's true. But I am working with data that were tiled by a vendor, not by me, so their naming convention is based on flight date rather than coordinates. I need to determine which of these files are adjacent so I can buffer them for DTM generation.
lasindex -i unbuffered_tiles\*.laz ^
-cores 30
Then you can do on-the-fly buffering (here with a 50 meter buffer) to create a ground point DTM with las2dem (or blast2dem). The command line switch '-buffered 50' creates a 50 meter (or feet) buffer on-the-fly and the switch '-keep_orig_bb' makes sure only the original center extend of the now-buffered tile gets rastered.
las2dem.exe -i unbuffered_tiles\*.laz ^
-buffered 50 ^
-keep_class 2 ^
-step 0.5 ^
-keep_orig_bb ^
-odir dtm_50cm -otif ^
-cores 4
Similarly you can create a first-return DSM. Again the command line switch '-buffered 50' creates a 50 meter (or feet) buffer on-the-fly and the switch '-keep_orig_bb' makes sure only the original center extend of the now-buffered tile gets rastered.
las2dem.exe -i unbuffered_tiles\*.laz ^
-buffered 50 ^
-keep_first ^
-step 0.5 ^
-keep_orig_bb ^
-odir dsm_50cm_fr -otif ^
-cores 4
Or a first-return DSM. Again the command line switch '-buffered 50' creates a 50 meter (or feet) buffer on-the-fly and the switch '-keep_orig_bb' makes sure only the original center extend of the now-buffered tile gets rastered.
las2dem.exe -i unbuffered_tiles\*.laz ^
-buffered 50 ^
-spike_free 1.2 ^
-step 0.5 ^
-keep_orig_bb ^
-odir dsm_50cm_fr -otif ^
-cores 4
Under the hood LAStools figures out which neighbor files need to be used to on-the-fly read the buffer points for each tile.
Regards.
Martin @rapidlasso