Select to view content in your preferred language

Issue running tool in batch mode

969
1
Jump to solution
01-07-2023 07:35 AM
Labels (1)
teakplantation
Occasional Contributor

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?

 

batch_peaks.png hist_1.pnghist_2.png

 

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Luke_Pinner
MVP Regular Contributor

Use the %Name% variable in your output path. See "Dynamic output naming" in the  Batch geoprocessing help.

 

View solution in original post

1 Reply
Luke_Pinner
MVP Regular Contributor

Use the %Name% variable in your output path. See "Dynamic output naming" in the  Batch geoprocessing help.