[GRASS-dev] Re: [GRASS GIS] #392: backport G_is_c_null_value() to
devbr6
GRASS GIS
trac at osgeo.org
Mon Feb 9 18:45:19 EST 2009
#392: backport G_is_c_null_value() to devbr6
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: task | Status: new
Priority: blocker | Milestone: 6.5.0
Component: default | Version: svn-develbranch6
Resolution: | Keywords:
Platform: All | Cpu: All
----------------------+-----------------------------------------------------
Changes (by hamish):
* priority: major => blocker
* milestone: 6.4.0 => 6.5.0
Comment:
It is worse than I thought. Any module creating a map containing nulls in
grass 6.5 currently generates a broken map.
{{{
G65> r.mapcalc 'nullmap = null()'
100%
G65> r.info -r nullmap
min=-2147483648
max=-2147483648
G65> r.univar nullmap
100%
total null and non-null cells: 2654802
total null cells: 0
Of the non-null cells:
----------------------
n: 2654802
minimum: 0
maximum: 0
range: 0
mean: 0
mean of absolute values: 0
standard deviation: 0
variance: 0
variation coefficient: nan %
sum: 0
}}}
If you read the above map in grass64 or grass7 you get the same r.info and
r.univar output.
:-(
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/392#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list