I'm modelling species distributions using Maxent. Maxent produced probability of occurrence/habitat suitability maps for my study species. These raster maps have values ranging from 0 to 1.

I want to transform these maps in a binary map of suitable and unsuitable areas, by using a threshold.

It would be something like this:

From 0 to threshold (not included) = 0 ; From threshold (included) to 1 = 1

I thought about using the QGIS tool r.reclass, but I'm failing to understand how to provide the (included) or (not included) information to the reclassify rules.

Can anyone help?

1 Answer 1


Use raster calculator with raster@1 >= N, where raster@1 is the name of your raster layer and band, and N is the threshold value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.