In order to find another solution to my unanswered post (https://community.esri.com/t5/arcgis-pro-questions/identify-local-maxima-over-a-large-area/m-p/12435...) I tried to run the 'Local peaks or valleys' geoprocessing tool in batch mode using the original raster split into 4 equal subrasters. This way I thought to be able to overcome the 100 peaks limit within this tool.
While the tool did not return any errors, the output only gives me the results for the last analyzed subraster instead of returning the peaks in all 4 rasters (image below).
Below the image I paste the message for the batch process, which shows that peaks have been identified in each subraster. How can I make sure that the output feature class will return all found values, not only those for the last raster in the batch mode?
Solved! Go to Solution.
Use the %Name% variable in your output path. See "Dynamic output naming" in the Batch geoprocessing help.
Use the %Name% variable in your output path. See "Dynamic output naming" in the Batch geoprocessing help.