Exporting Raster with given file name
Posted: Wed Nov 22, 2023 3:06 pm
Thanks a lot for such a wonderful tool!
I want to rasterize LiDAR data (laz file) by using the command line and -RASTERIZE function.
Everything works fine, but I want to specify a output name while using the -OUTPUT_RASTER_Z_AND_SF function.
I tried to add the -NO_TIMESTEMP command but nothing changed.
This is my cmd code structure (input_folder etc. specified before):
for /L %%i in (0,1,21) do (
set "input_file=!input_folder!\lidar_lae_tower_pcsrt_06_15_08_18_%%i.laz"
set "output_file=!output_folder!\lidar_pcsrt_%%i_rasterized.tif"
REM Use CloudCompare CLI to rasterize the LiDAR data
"%cloudcompare_path%" -SILENT -O "!input_file!" -RASTERIZE -GRID_STEP 0.1 -PROJ MAX -SF_PROJ MAX -OUTPUT_RASTER_Z_AND_SF -NO_TIMESTAMP (here I want to input e.g. "!output_file!")
echo Rasterization completed for %%i
Pause
)
echo All files processed.
Is there a way to do that? Thanks a lot for your help!
I want to rasterize LiDAR data (laz file) by using the command line and -RASTERIZE function.
Everything works fine, but I want to specify a output name while using the -OUTPUT_RASTER_Z_AND_SF function.
I tried to add the -NO_TIMESTEMP command but nothing changed.
This is my cmd code structure (input_folder etc. specified before):
for /L %%i in (0,1,21) do (
set "input_file=!input_folder!\lidar_lae_tower_pcsrt_06_15_08_18_%%i.laz"
set "output_file=!output_folder!\lidar_pcsrt_%%i_rasterized.tif"
REM Use CloudCompare CLI to rasterize the LiDAR data
"%cloudcompare_path%" -SILENT -O "!input_file!" -RASTERIZE -GRID_STEP 0.1 -PROJ MAX -SF_PROJ MAX -OUTPUT_RASTER_Z_AND_SF -NO_TIMESTAMP (here I want to input e.g. "!output_file!")
echo Rasterization completed for %%i
Pause
)
echo All files processed.
Is there a way to do that? Thanks a lot for your help!