diff --git a/plot_heatmaps.py b/plot_heatmaps.py index 6258ec8..4b0ddcb 100644 --- a/plot_heatmaps.py +++ b/plot_heatmaps.py @@ -119,7 +119,11 @@ def process(yaml_name): # Export beaches that are covered by current survey if ddp.pageRow.Parent == beach.lower(): page_name = ddp.pageRow.Beach - jpg_name = os.path.join(output_jpg_dir, page_name + '.jpg') + for output_dir in output_dirs: + jpg_name = os.path.join(output_dir, page_name + '.jpg') + # Export to jpg + arcpy.mapping.ExportToJPEG( + mxd, jpg_name, resolution=200, jpeg_quality=80) def main():