Fix relative paths for arcpy

etta-drone
Dan Howe 6 years ago
parent 9d7051e53b
commit fdc0ea4ba0

@ -51,12 +51,11 @@ def process(yaml_name):
base_name = os.path.splitext(os.path.basename(params['INPUT LAS']))[0]
# Set all paths relative to current script location
pwd = os.getcwd()
input_tif_dir = os.path.join(pwd, params['TIF DEM FOLDER'])
mxd_name = os.path.join(pwd, params['MAP DOCUMENT'])
symb_lyr_name = os.path.join(pwd, params['SYMBOLOGY LAYER'])
clip_poly = os.path.join(pwd, params['HEATMAP CROP POLY'])
output_tif_dir = os.path.join(pwd, params['TIF HEATMAP FOLDER'])
input_tif_dir = params['TIF DEM FOLDER']
mxd_name = params['MAP DOCUMENT']
symb_lyr_name = params['SYMBOLOGY LAYER']
clip_poly = params['HEATMAP CROP POLY']
output_tif_dir = params['TIF HEATMAP FOLDER']
previous_date = params['PREVIOUS SURVEY DATE']
# Check if previous survey date was provided

Binary file not shown.
Loading…
Cancel
Save