On Sep 26, 2014 12:37 PM, "Luis Miguel Royo Pérez" < [email protected]> wrote: > > Thank you very much. That was the problem.
Please suggest how to improve the module help text or manual. Thanks Markus > Sorry for any inconvenience. > > Kind regards. > > > El 26/09/14 a las #4, Pedro Palheiro escribió: >> >> Hello Luis, >> >> 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. >> >> 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. >> >> Adios, >> Pedro Palheiro >> >> >> 2014-09-25 20:00 GMT+01:00 <[email protected]>: >>> >>> Send grass-user mailing list submissions to >>> [email protected] >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> http://lists.osgeo.org/mailman/listinfo/grass-user >>> or, via email, send a message with subject or body 'help' to >>> [email protected] >>> >>> You can reach the person managing the list at >>> [email protected] >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of grass-user digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Re: removing small lines (Markus Neteler) >>> 2. Problems with r.viewshed (Luis Miguel Royo P?rez) >>> 3. Re: Problems with r.viewshed (Markus Neteler) >>> 4. Re: Problems with r.viewshed (Luis Miguel Royo P?rez) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Thu, 25 Sep 2014 10:25:25 +0200 >>> From: Markus Neteler <[email protected]> >>> To: Levente Juh?sz <[email protected]> >>> Cc: GRASS user list <[email protected]> >>> Subject: Re: [GRASS-user] removing small lines >>> Message-ID: >>> <CALFmHhsJtJ0-= [email protected]> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> On Wed, Sep 24, 2014 at 4:22 PM, Levente Juh?sz <[email protected]> wrote: >>> > Hi all, >>> > >>> > I've seen that the remove_small method of v.generalize has been eliminated. >>> > Reduction method does not work in the way I want since it just removes point >>> > from lines and it seems like has no effect on a line of 2 points - even if >>> > they're smaller than the threshold. >>> > Can someone tell me what the workaround is for removing small lines from a >>> > vector for example by a threshold in map units? >>> >>> >>> You may use v.to.db and option=length (line length), then use >>> v.extract to extract into a new map according to a threshold you need. >>> >>> Markus >>> >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Thu, 25 Sep 2014 10:35:52 +0200 >>> From: Luis Miguel Royo P?rez < >>> >>> [email protected]> >>> To: [email protected] >>> Subject: [GRASS-user] Problems with r.viewshed >>> Message-ID: <[email protected]> >>> Content-Type: text/plain; charset="utf-8"; Format="flowed" >>> >>> 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!!! >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: < http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/15c0ab71/attachment-0001.html > >>> >>> ------------------------------ >>> >>> Message: 3 >>> Date: Thu, 25 Sep 2014 12:46:13 +0200 >>> From: Markus Neteler <[email protected]> >>> To: Luis Miguel Royo P?rez <[email protected]> >>> Cc: GRASS user list <[email protected]> >>> Subject: Re: [GRASS-user] Problems with r.viewshed >>> Message-ID: >>> <CALFmHhuPb4w+S03JwMEohU0yQaUas+0f65R= [email protected]> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> On Thu, Sep 25, 2014 at 10:35 AM, Luis Miguel Royo P?rez >>> <[email protected]> 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 >>> >>> >>> ------------------------------ >>> >>> Message: 4 >>> Date: Thu, 25 Sep 2014 14:11:36 +0200 >>> From: Luis Miguel Royo P?rez <[email protected]> >>> To: Markus Neteler <[email protected]> >>> Cc: GRASS user list <[email protected]> >>> Subject: Re: [GRASS-user] Problems with r.viewshed >>> Message-ID: <[email protected]> >>> Content-Type: text/plain; charset="utf-8"; Format="flowed" >>> >>> 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 >>> > <[email protected]> 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 >>> >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: < http://lists.osgeo.org/pipermail/grass-user/attachments/20140925/edaf5af2/attachment-0001.html > >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> grass-user mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/grass-user >>> >>> End of grass-user Digest, Vol 101, Issue 39 >>> ******************************************* >> >> >> >> >> -- >> Pedro Palheiro > > > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
