#335: export floats and doubles with correct precision
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: task | Status: new
Priority: critical | Milestone: 6.4.1
Component: Default | Version: svn-develbranch6
Keywords: precision | Platform: All
Cpu: All |
-----------------------+----------------------------------------------------
Comment(by hamish):
with respect to raster/r.stats/raw_stats.c (and so r.out.xyz), the
_is_fp() array-filling in main.c needs to be changed to fill the array
with the map type, instead of just categorical or FP. The array is already
type int, so this shouldn't be too hard. Then raw_stats.c can output %.7g
or %.15g depending on FCELL or DCELL (see r.info), instead of the current
%.10f for all.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/335#comment:14>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev