[Qgis-user] Raster calculator merge 2 grids

Matt Boyd mattslists at gmail.com
Fri Sep 19 00:01:28 PDT 2014


I'll answer my own question.
TIFF rasters were doing null+value = null. So I converted to zmap with null
= 0.
Then, Grid-1+Grid2-Grid1=newgrid (where Grid1 had celles valued as 0 for
null) worked.



On Fri, Sep 19, 2014 at 11:33 AM, Matt Boyd <mattslists at gmail.com> wrote:

> Hi List,
> trying to get my head around the raster calculator.
> I've 2 grids. Where grid 1 is null I want to replace it with grid 2. The
> null value reported in the tiff using the info tool is nan. It's just a
> single band.
>
> I've tried various iteration of this...
>
> ("P_Clip_fill at 1">0) * "P_Clip_fill at 1"+("P_Clip_fill at 1"<=0)*"Z_Clip_fill at 1"
>
> Any tips?
> thanks
> Matt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140919/2848a9ea/attachment.html>


More information about the Qgis-user mailing list