Sunday, 19 February 2017

arcpy - How do you add a long list of rasters together in Python?


If you have produced a long list of rasters (lets say 50) and want to add them together, is there any shorter way to write in python rather than typing all the inputs, like so:


outRas = inRas1 + inRas2.........+ inRas50


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...