[GRASS-dev] [GRASS GIS] #3690: r.stats.quantile crashing with data linked through r.external
GRASS GIS
trac at osgeo.org
Fri Nov 2 01:46:52 PDT 2018
#3690: r.stats.quantile crashing with data linked through r.external
--------------------------+------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.4.3
Component: Raster | Version: svn-releasebranch74
Resolution: fixed | Keywords: r.external, r.stats.quantile
CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------------------
Comment (by mmetz):
Replying to [comment:4 mmetz]:
> In [changeset:"73639" 73639]:
> {{{
> #!CommitTicketReference repository="" revision="73639"
> r.external: do not rely on statistics stored in metadata, they can be
approximations (fixes #3690)
> }}}
These approximate statistics stored in metadata are a nightmare! The
stored maximum value in basemap is too low:
{{{
gdalinfo -mm basemap.tif
Min=1.000 Max=1061.000 Computed Min/Max=1.000,1063.000
}}}
However, metadata say
{{{
TIFFTAG_SOFTWARE=GRASS GIS 7.4.3svn with GDAL 2.2.2
}}}
in which case min and max should not be set at all. That means some other
software has edited the metadata in basemap.tif, inserting approximate and
thus wrong values.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3690#comment:5>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list