Qgis Raster Calculator : "If Condition" Trick

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 7

  • @mlfb01ag
    @mlfb01ag ปีที่แล้ว

    Very well explained, thanks!
    2:00 Intro to Raster Calculator;
    3:25 Setting the expression to create a layer where all the cells>500 are given value=1, and all the cells500 are left the same, and the cells

  • @jakubfuska244
    @jakubfuska244 2 ปีที่แล้ว +4

    try map@1/(map@1>500). It will do the same in areas >500, but in areas 500 and no 0 pixels - you dont even have to fix the transparency for 0 pixels. That is objectively better as in further calculations the 0 and NULL values are way different ;) anyway, nice video!

  • @johnariestabora4955
    @johnariestabora4955 ปีที่แล้ว

    whats the IF command to fill null gaps in raster with another raster?

    • @MiningGeologist
      @MiningGeologist  ปีที่แล้ว

      That would require a little bit of scripting

  • @mlfb01ag
    @mlfb01ag ปีที่แล้ว

    After changing the value of the unwanted cells into "0" as suggested here, maybe you need to get rid of them, that is, to change their 0 value into NoData value. If so, you can use the trick suggested by Hans van der Kwast in his video "Dealing with NoData in Discrete Rasters using QGIS" (th-cam.com/video/qApnkq7qsFU/w-d-xo.html)