# ArcMap for batch data processing - Model builder - Batch resampling

#ArcMap for batch data processing - Model builder - Batch resampling
The first step is to click on the model builder
Drag the folder that requires batch processing directly into the model builder action box.

When performing grid cropping, it is important to carefully examine whether the shp file used is face data or line data. Face data should be extracted using a mask, while line data should be cropped using the data from grid processing. The processing process can be found in the link https://jingyan.baidu.com/article/fdbd42770a4385f99e3f488f.html
During the processing, a problem was encountered: it was found that the processed data did not match the data before processing. After searching, it was found that the output image data was misaligned with the original image (meaning that the first file of the output result was actually the result of the second file in the original image). The reason was that the "parsing path" tool in the model builder established above was not set correctly, and should be similar to the image above, Connect the "value" to the grid calculator (as a prerequisite). But I have tried using another computer before, and it is possible not to do so, but this approach is the safest.