[GRASS-dev] Re: [GRASS GIS] #63: r.los: patch to support earth
curvature
GRASS GIS
trac at osgeo.org
Tue Mar 18 05:35:51 EDT 2008
#63: r.los: patch to support earth curvature
--------------------------+-------------------------------------------------
Reporter: neteler | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: closed
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by neteler):
* status: new => closed
* resolution: => fixed
Comment:
I have simplified the ellipsoid stuff to:
{{{
if (curvature->answer){
/* try to get the radius the standard GRASS way from the libs */
G_get_ellipsoid_parameters (&aa, &e2);
if (aa == 0) {
/* since there was a problem, take a hardcoded radius :( */
G_warning(_("Problem to obtain current ellipsoid parameters,
using sphere (6370997.0)"));
aa = 6370997.00;
}
G_debug(3, "radius: %f", aa);
}
}}}
Updated earth curvature patch submitted as [c30614]
(http://trac.osgeo.org/grass/changeset/c30614).
Markus
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/63#comment:7>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list