[GRASS5] [bug #2061] (grass) r.los needs FP update

Request Tracker grass-bugs at intevation.de
Wed Aug 13 08:54:54 EDT 2003


this bug's URL: http://intevation.de/rt/webrt?serial_num=2061
-------------------------------------------------------------------------

Subject: r.los needs FP update

grass binary for platform: Compiled from Sources

After inspection of the source code (due to unsatisfying results)
it seems that 'r.los' only works with CELL elevation data:

src/raster/r.los/cmd/main.c:
         /*  allocate buffer space for row-io to layer           */
         cell = G_allocate_cell_buf();
         /*      open elevation overlay file for reading         */
         old = G_open_cell_old (elev_layer, old_mapset);
etc.

The module should be fixed to also accept FCELL/DCELL DEMs.
However, I have no clear idea how much work is needed for
that as segmentation is used internally.

Markus


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list