File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
packages/common/src/bag3d/common/utils Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -278,30 +278,13 @@ def pdal_info(
278
278
output_logging = "BUFFER" ,
279
279
)
280
280
281
- logger .info (f"PDAL info output: { output } " )
282
- logger .info (f"PDAL info return code: { return_code } " )
283
-
284
281
if "Global encoding WKT flag" in str (output ):
285
282
logger .warning (f"Pdal failed for tile { file_path } with output { output } ." )
286
- # logger.warning("Setting --readers.las.nosrs true")
287
- # cmd_list.append("--readers.las.nosrs true")
288
- # return_code, output = pdal.execute(
289
- # "pdal",
290
- # command=" ".join(cmd_list),
291
- # local_path=file_path,
292
- # silent=(not verbose),
293
- # output_logging="BUFFER",
294
- # )
295
- # # Remove the first line
283
+ # Remove the first line
296
284
output_lines = output .split ("\n " )
297
285
if len (output_lines ) > 1 :
298
286
logger .warning (f"Removing first line from PDAL output : { output_lines [0 ]} " )
299
287
output = "\n " .join (output_lines [1 :])
300
- else :
301
- output = ""
302
-
303
- logger .info (f"PDAL info output: { output } " )
304
- logger .info (f"PDAL info return code: { return_code } " )
305
288
306
289
output_processed = output .replace ("\\ u0000" , "" )
307
290
You can’t perform that action at this time.
0 commit comments