Global Mapper Pro

Raster Calculator and no data

From a DTM I want to extract pixels greater than 7m,

Using Raster Calculator I thought the approach would be to use a custom formula:

IF(B1<7,null,B1)

I've tried null, NULL, nodata, NODATA etc...

Is this possible? How do you specify nodata in the logic?

Answers

  • JeffH@BMG
    JeffH@BMG Global Mapper Developer Trusted User

    Hi miczat,

    There's no such thing as "no data", but you can specify a number. Does 0 work for you?

    For example: IF( B1< 7, 0, B1 )

    Cheers,

    ~Jeff

Sign In or Register to comment.