[GRASS-dev] Re: [GRASS GIS] #1388: r3.univar gives bad results for
cell counts
GRASS GIS
trac at osgeo.org
Mon Jun 13 05:11:48 EDT 2011
#1388: r3.univar gives bad results for cell counts
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.2
Component: Raster | Version: svn-develbranch6
Keywords: r3.univar | Platform: Linux
Cpu: x86-32 |
-----------------------+----------------------------------------------------
Comment(by mmetz):
Replying to [comment:2 hamish]:
> I'll have to refamiliarize myself with the `r3`/zonal bits of the module
before being auditing it properly, please wait on any backport. I suspect
that val_f and val_d want to remain as float and double, even if in a
practical sense they are the same as FCELL and DCELL types.
>
I have submitted some more (tested) fixes, particularly for zonal stats.
IMHO, it may be safer to have val_f and val_d as FCELL and DCELL because
they are used in G3d_getValue().
Markus M
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1388#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list