[GRASS-user] Problems with r.viewshed

Hi everyone,

when I try to run r.viewshed the output shows me this:

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 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?

Thanks a lot!!!

On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo Pérez
<luis.miguel.royo@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

I’m sorry but it didn’t work.

I have reinstalled the addon but it didn’t work, reinstalled GRASS 6.4 and neither, then installed GRASS7 again, and appears this message:

r.viewshed -b input=Portada@inisig output=visPort coordinates=-3.74034324324,42.5352702703 obs_elev=9 tgt_elev=1.75 max_dist=30000
Computing events…
Computing 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.

I will try in another PC.

Thank you for your time.

···

El 25/09/14 a las #4, Markus Neteler escribió:

On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo Pérez
[<luis.miguel.royo@gmail.com>](mailto:luis.miguel.royo@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