[GRASS-user] Problems with r.viewshed
Markus Neteler
neteler at osgeo.org
Thu Sep 25 03:46:13 PDT 2014
On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo Pérez
<luis.miguel.royo at gmail.com> wrote:
> Hi everyone,
>
> when I try to run r.viewshed the output shows me this:
(in GRASS 6 it is an Addon)
> Nodata value set to -nan
> rows=198, cols=217, total = 42966
> In-memory memory usage is 4298336 B (4 MB), max mem
> allowed=524288000 B(500MB)
> ***** IN_MEMORY MODE *****
> Start sweeping.
> Computing events ...
> Sorting events...
> Terminado.
> Determine visibility...
> r.viewshed: statusstructure.cpp:73: float
> get_vertical_angle(Viewpoint, StatusNode, surface_type,
> int): La declaración `fabs(sn.dist2vp) > 0.001' no se
> cumple.
>
> Anyone has a clue about what it could be happening?
>
> I'm using GRASS 6.4.4 in Xubuntu 14.04.
I have backported some fixes from GRASS 7 to the addon in GRASS 6.
Please reinstall the addon with g.extension and try again.
> I think I must say that a few days ago I installed GRASS 7 but I removed it
> and reinstalled GRASS 6.4.4. Maybe is there any incompatibility?
No, GRASS 6 and 7 can happily live together.
Please let us know if the updated Addon runs ok for you.
Markus
More information about the grass-user
mailing list