[GRASS-user] No Data everywhere when I extract the shadow from a DEM using r.sunmask

Markus Neteler neteler at osgeo.org
Sun Sep 10 03:42:23 PDT 2017


On Mon, Sep 4, 2017 at 5:59 PM, Hakim Benoudjit <h.benoudjit at gmail.com> wrote:
> Thanks guys for the quick response.
> You were right, the shadow wasn't detected because the region hasn't been
> set.
>
> Now it seems to be working, but I'm wondering between `r.sunmask` and
> `r.sun` which one should be used to calculate the shadow mask?

Personally I think that r.sun is more powerful here since it uses a
more advanced algorithm.

HTH,
Markus


More information about the grass-user mailing list