I now need to reclassify, I'm using rastercalc... but I can't get the syntax right!!

I need that values >0 become 1

I found this example... eq( [relief]@1, [mask]@4, 150 )

so I tried: ( [raster A insularis_1]@1, > 0, 1) and I absolutely failed

1 Answer 1


You simply need to use following expression

raster A insularis_1@1 > 0

The expression means , set all values greater than 0 as 1 and others as 0.

  • Oh, sorry! I didn't know I could do that !
    – Nadia
    Jun 22, 2012 at 7:13

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.