Skip to content

set_delivery_tif_crs.py now differentiates between LD running on Arc3 vs Arc2...

Paul Yarin requested to merge fix_set_delivery_tif_crs into develop

set_delivery_tif_crs.py now differentiates between LD running on Arc3 vs Arc2 when a .laz must be used to extract the CRS. With Arc2, las2las is used, with Arc3, ConvertLas is used. In the old version, a temporary .las file was created in the temp space so that a CRS could be read. In this new version, that did not work. So, I created another directory inside the temp space called temp_las_folder where that .las file is created, and that worked. That temp directory, temp_las_folder, has a timestamp in its name instead of the .las file so that multiple instances of LD can still be run at the same time.

I tried defining the version of ArcPro in run_environment.py, but it would not let me use arcpy in that file. And it works fine getting the version of arc in set_delivery_tif_crs.py.

Merge request reports