[GRASS-user] r.horizon and negative tilt

Markus Metz markus.metz.giswork at gmail.com
Sat Aug 4 02:18:18 PDT 2018


On Mon, Jul 30, 2018 at 4:55 PM, Frank David <frank.david at geophom.fr> wrote:
>
> Hello Markus,
>
> is it possible to add an option to evaluate the negatives hight in a
future release ? (I don't know C)

Please try trunk r73049. Negative angles are now allowed by default.

Markus M

>
> Best regards,
> Frank
> Le 30/07/2018 à 16:19, Markus Metz a écrit :
>
>
>
> On Sat, Jul 28, 2018 at 3:59 PM, Frank David <frank.david at geophom.fr>
wrote:
> >
> > Dear all,
> >
> > It seems that r.horizon in does not return negative heights. How it's
possible in case of the given point from the calculation is done is located
on mountain and the horizon around is below zero ??. I miss something may
be...
>
> r.horizon is indeed ignoring points that are lower than the given point,
see
>
https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.horizon/main.c#L1037
> and following lines
>
> I agree that this behaviour is questionable
>
> Markus M
>
> >
> > Thank you for your explanations
> >
> > Regards
> >
> > Frank
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180804/46a6dfeb/attachment.html>


More information about the grass-user mailing list