crop function

Crop a preprocessed map