<p dir="ltr"><br>
On Sep 26, 2014 12:37 PM, "Luis Miguel Royo Pérez" <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>> wrote:<br>
><br>
> Thank you very much. That was the problem.</p>
<p dir="ltr">Please suggest how to improve the module help text or manual.</p>
<p dir="ltr">Thanks<br>
Markus<br><br></p>
<p dir="ltr">> Sorry for any inconvenience.<br>
><br>
> Kind regards.<br>
><br>
><br>
> El 26/09/14 a las #4, Pedro Palheiro escribió:<br>
>><br>
>> Hello Luis,<br>
>><br>
>> Maybe it is a coordinate reference system problem? It looks like you're using wgs84 for the input and coordinates, and requesting the calculation in meters (obs_elev, tgt_elev and max_dist). Try to change the CRS to see if it works.<br>
>><br>
>> r.viewshed -b input=Portada@inisig output=visPort<br>
>> coordinates=-3.74034324324,42.5352702703 <br>
>> obs_elev=9 tgt_elev=1.75<br>
>> max_dist=30000<br>
>> Computing events...<br>
>> Computing visibility...<br>
>> r.viewshed: statusstructure.cpp:73: float<br>
>> get_vertical_angle(Viewpoint, StatusNode, surface_type,<br>
>> int): La declaraci?n `fabs(sn.dist2vp) > 0.001' no se<br>
>> cumple.<br>
>><br>
>> Adios,<br>
>> Pedro Palheiro<br>
>><br>
>><br>
>> 2014-09-25 20:00 GMT+01:00 <<a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a>>:<br>
>>><br>
>>> Send grass-user mailing list submissions to<br>
>>>         <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>>><br>
>>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>>>         <a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
>>> or, via email, send a message with subject or body 'help' to<br>
>>>         <a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a><br>
>>><br>
>>> You can reach the person managing the list at<br>
>>>         <a href="mailto:grass-user-owner@lists.osgeo.org">grass-user-owner@lists.osgeo.org</a><br>
>>><br>
>>> When replying, please edit your Subject line so it is more specific<br>
>>> than "Re: Contents of grass-user digest..."<br>
>>><br>
>>><br>
>>> Today's Topics:<br>
>>><br>
>>>    1. Re: removing small lines (Markus Neteler)<br>
>>>    2. Problems with r.viewshed (Luis Miguel Royo P?rez)<br>
>>>    3. Re: Problems with r.viewshed (Markus Neteler)<br>
>>>    4. Re: Problems with r.viewshed (Luis Miguel Royo P?rez)<br>
>>><br>
>>><br>
>>> ----------------------------------------------------------------------<br>
>>><br>
>>> Message: 1<br>
>>> Date: Thu, 25 Sep 2014 10:25:25 +0200<br>
>>> From: Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>><br>
>>> To: Levente Juh?sz <<a href="mailto:jlevente89@gmail.com">jlevente89@gmail.com</a>><br>
>>> Cc: GRASS user list <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
>>> Subject: Re: [GRASS-user] removing small lines<br>
>>> Message-ID:<br>
>>>         <CALFmHhsJtJ0-=<a href="mailto:me%2BC_8o6%2BY9CTA1P-cofD3NemuyE30uBmvF5Q@mail.gmail.com">me+C_8o6+Y9CTA1P-cofD3NemuyE30uBmvF5Q@mail.gmail.com</a>><br>
>>> Content-Type: text/plain; charset=UTF-8<br>
>>><br>
>>> On Wed, Sep 24, 2014 at 4:22 PM, Levente Juh?sz <<a href="mailto:jlevente89@gmail.com">jlevente89@gmail.com</a>> wrote:<br>
>>> > Hi all,<br>
>>> ><br>
>>> > I've seen that the remove_small method of v.generalize has been eliminated.<br>
>>> > Reduction method does not work in the way I want since it just removes point<br>
>>> > from lines and it seems like has no effect on a line of 2 points - even if<br>
>>> > they're smaller than the threshold.<br>
>>> > Can someone tell me what the workaround is for removing small lines from a<br>
>>> > vector for example by a threshold in map units?<br>
>>><br>
>>><br>
>>> You may use v.to.db and option=length (line length), then use<br>
>>> v.extract to extract into a new map according to a threshold you need.<br>
>>><br>
>>> Markus<br>
>>><br>
>>><br>
>>> ------------------------------<br>
>>><br>
>>> Message: 2<br>
>>> Date: Thu, 25 Sep 2014 10:35:52 +0200<br>
>>> From: Luis Miguel Royo P?rez <<br>
>>> ​ ​<br>
>>> <a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>><br>
>>> To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>>> Subject: [GRASS-user] Problems with r.viewshed<br>
>>> Message-ID: <<a href="mailto:5423D3E8.5090206@gmail.com">5423D3E8.5090206@gmail.com</a>><br>
>>> Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
>>><br>
>>> Hi everyone,<br>
>>><br>
>>> when I try to run r.viewshed the output shows me this:<br>
>>><br>
>>> Nodata value set to -nan<br>
>>> rows=198, cols=217, total = 42966<br>
>>> In-memory memory usage is 4298336 B (4 MB),             max mem<br>
>>> allowed=524288000 B(500MB)<br>
>>> *****  IN_MEMORY MODE  *****<br>
>>> Start sweeping.<br>
>>> Computing events ...<br>
>>> Sorting events...<br>
>>> Terminado.<br>
>>> Determine visibility...<br>
>>> r.viewshed: statusstructure.cpp:73: float<br>
>>> get_vertical_angle(Viewpoint, StatusNode, surface_type,<br>
>>> int): La declaraci?n `fabs(sn.dist2vp) > 0.001' no se<br>
>>> cumple.<br>
>>><br>
>>> Anyone has a clue about what it could be happening?<br>
>>><br>
>>> I'm using GRASS 6.4.4 in Xubuntu 14.04.<br>
>>><br>
>>> I think I must say that a few days ago I installed GRASS 7 but I removed<br>
>>> it and reinstalled GRASS 6.4.4. Maybe is there any incompatibility?<br>
>>><br>
>>><br>
>>> Thanks a lot!!!<br>
>>> -------------- next part --------------<br>
>>> An HTML attachment was scrubbed...<br>
>>> URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/15c0ab71/attachment-0001.html">http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/15c0ab71/attachment-0001.html</a>><br>
>>><br>
>>> ------------------------------<br>
>>><br>
>>> Message: 3<br>
>>> Date: Thu, 25 Sep 2014 12:46:13 +0200<br>
>>> From: Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>><br>
>>> To: Luis Miguel Royo P?rez <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>><br>
>>> Cc: GRASS user list <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
>>> Subject: Re: [GRASS-user] Problems with r.viewshed<br>
>>> Message-ID:<br>
>>>         <CALFmHhuPb4w+S03JwMEohU0yQaUas+0f65R=<a href="mailto:sVaXsFFEOaTALg@mail.gmail.com">sVaXsFFEOaTALg@mail.gmail.com</a>><br>
>>> Content-Type: text/plain; charset=UTF-8<br>
>>><br>
>>> On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo P?rez<br>
>>> <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>> wrote:<br>
>>> > Hi everyone,<br>
>>> ><br>
>>> > when I try to run r.viewshed the output shows me this:<br>
>>><br>
>>> (in GRASS 6 it is an Addon)<br>
>>><br>
>>> > Nodata value set to -nan<br>
>>> > rows=198, cols=217, total = 42966<br>
>>> > In-memory memory usage is 4298336 B (4 MB),             max mem<br>
>>> > allowed=524288000 B(500MB)<br>
>>> > *****  IN_MEMORY MODE  *****<br>
>>> > Start sweeping.<br>
>>> > Computing events ...<br>
>>> > Sorting events...<br>
>>> > Terminado.<br>
>>> > Determine visibility...<br>
>>> > r.viewshed: statusstructure.cpp:73: float<br>
>>> > get_vertical_angle(Viewpoint, StatusNode, surface_type,<br>
>>> > int): La declaraci?n `fabs(sn.dist2vp) > 0.001' no se<br>
>>> > cumple.<br>
>>> ><br>
>>> > Anyone has a clue about what it could be happening?<br>
>>> ><br>
>>> > I'm using GRASS 6.4.4 in Xubuntu 14.04.<br>
>>><br>
>>> I have backported some fixes from GRASS 7 to the addon in GRASS 6.<br>
>>> Please reinstall the addon with g.extension and try again.<br>
>>><br>
>>> > I think I must say that a few days ago I installed GRASS 7 but I removed it<br>
>>> > and reinstalled GRASS 6.4.4. Maybe is there any  incompatibility?<br>
>>><br>
>>> No, GRASS 6 and 7 can happily live together.<br>
>>><br>
>>> Please let us know if the updated Addon runs ok for you.<br>
>>><br>
>>> Markus<br>
>>><br>
>>><br>
>>> ------------------------------<br>
>>><br>
>>> Message: 4<br>
>>> Date: Thu, 25 Sep 2014 14:11:36 +0200<br>
>>> From: Luis Miguel Royo P?rez <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>><br>
>>> To: Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>><br>
>>> Cc: GRASS user list <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
>>> Subject: Re: [GRASS-user] Problems with r.viewshed<br>
>>> Message-ID: <<a href="mailto:54240678.7060005@gmail.com">54240678.7060005@gmail.com</a>><br>
>>> Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
>>><br>
>>> I'm sorry but it didn't work.<br>
>>><br>
>>> I have reinstalled the addon but it didn't work, reinstalled GRASS 6.4<br>
>>> and neither, then installed GRASS7 again, and appears this message:<br>
>>><br>
>>> r.viewshed -b input=Portada@inisig output=visPort<br>
>>> coordinates=-3.74034324324,42.5352702703 obs_elev=9 tgt_elev=1.75<br>
>>> max_dist=30000<br>
>>> Computing events...<br>
>>> Computing visibility...<br>
>>> r.viewshed: statusstructure.cpp:73: float<br>
>>> get_vertical_angle(Viewpoint, StatusNode, surface_type,<br>
>>> int): La declaraci?n `fabs(sn.dist2vp) > 0.001' no se<br>
>>> cumple.<br>
>>><br>
>>><br>
>>> I will try in another PC.<br>
>>><br>
>>> Thank you for your time.<br>
>>><br>
>>> El 25/09/14 a las #4, Markus Neteler escribi?:<br>
>>> > On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo P?rez<br>
>>> > <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>> wrote:<br>
>>> >> Hi everyone,<br>
>>> >><br>
>>> >> when I try to run r.viewshed the output shows me this:<br>
>>> > (in GRASS 6 it is an Addon)<br>
>>> ><br>
>>> >> Nodata value set to -nan<br>
>>> >> rows=198, cols=217, total = 42966<br>
>>> >> In-memory memory usage is 4298336 B (4 MB),             max mem<br>
>>> >> allowed=524288000 B(500MB)<br>
>>> >> *****  IN_MEMORY MODE  *****<br>
>>> >> Start sweeping.<br>
>>> >> Computing events ...<br>
>>> >> Sorting events...<br>
>>> >> Terminado.<br>
>>> >> Determine visibility...<br>
>>> >> r.viewshed: statusstructure.cpp:73: float<br>
>>> >> get_vertical_angle(Viewpoint, StatusNode, surface_type,<br>
>>> >> int): La declaraci?n `fabs(sn.dist2vp) > 0.001' no se<br>
>>> >> cumple.<br>
>>> >><br>
>>> >> Anyone has a clue about what it could be happening?<br>
>>> >><br>
>>> >> I'm using GRASS 6.4.4 in Xubuntu 14.04.<br>
>>> > I have backported some fixes from GRASS 7 to the addon in GRASS 6.<br>
>>> > Please reinstall the addon with g.extension and try again.<br>
>>> ><br>
>>> >> I think I must say that a few days ago I installed GRASS 7 but I removed it<br>
>>> >> and reinstalled GRASS 6.4.4. Maybe is there any  incompatibility?<br>
>>> > No, GRASS 6 and 7 can happily live together.<br>
>>> ><br>
>>> > Please let us know if the updated Addon runs ok for you.<br>
>>> ><br>
>>> > Markus<br>
>>><br>
>>> -------------- next part --------------<br>
>>> An HTML attachment was scrubbed...<br>
>>> URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/edaf5af2/attachment-0001.html">http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/edaf5af2/attachment-0001.html</a>><br>
>>><br>
>>> ------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> grass-user mailing list<br>
>>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
>>><br>
>>> End of grass-user Digest, Vol 101, Issue 39<br>
>>> *******************************************<br>
>><br>
>><br>
>><br>
>><br>
>> -- <br>
>> Pedro Palheiro<br>
><br>
><br>
><br>
> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</p>