 Hello, in this video we are going to apply the proximity analysis to define the pixels that are further than a certain distance from a class. In the previous video we have used maximum distance. For the minimum distance there is a slightly different procedure. Let's go to the raster menu, choose analysis and proximity. I want to calculate the distances to industry. In geo-referenced coordinates there is only an option to calculate the maximum distance but we want the minimum, so if we don't fill in anything we will get all the distances and we will define the minimum distance in the next step. The output data type will be float32 because the distances are continuous. We give it an output file name and run the algorithm. The result is a continuous raster with for each pixel the distance to the industry class. We can style it with a single-band pseudo-color, we can use a color ramp. Now we can use the raster calculator to define the pixels that are further than 300 meters from industry. So I double-click on indist and I click on the button for large and equal and then I type 300 and I give an output file name in 300 meters.tiff and when I run this the pixels that are true will get value 1 and the others value 0. So the result is a Boolean raster where all the pixels that are further than 300 meters from industry are true and the ones that are closer are false. I style it with the pelleted unique values and I can edit the labels. So this video you've learned how to calculate the minimum distance to a class.