Batch raster math - multiple tiles

246
0
06-20-2022 02:19 PM
J_Miller_NZ
New Contributor

Hi all, I have two separate folders; one with DEMs and one with DSMs. They cover the same area and share the same tiling indexing convention, i.e. one is DEM_tile_A_01 and its equivalent is DSM_tile_A_01; this is reflected in the filename. Is there a way to use model builder to iteratively cycle through all of these, subtracting the DEM from the DSM based on their matching filenames? I haven't been able to work out how to iterate from different workspaces and use the minus tool based on matching filenames. I have around 1,000 to get through. Thanks in advance for any help. 

Tags (3)
0 Kudos
0 Replies