[GRASS5] [bug #1811] (grass) r.random type error with integer maps
Request Tracker
grass-bugs at intevation.de
Tue Apr 22 11:26:12 EDT 2003
this bug's URL: http://intevation.de/rt/webrt?serial_num=1811
-------------------------------------------------------------------------
Subject: r.random type error with integer maps
grass binary for platform: Compiled from Sources
Bug in r.random: When generating a sites list from an integer
map, the resulting sites type is double (should be integer as
well).
Test with spearfish sample data:
r.random elevation.dem nsites=3000 sites_out=elev.rnd.3k
r.info elevation.dem
Data Type: CELL
s.info elev.rnd.3k
Number of DOUBLE attributes: 1
---------------------------
- - MIN - - - - MAX - -
dbl 1 1120 1139
more grassdata/spearfish/users1/site_lists/elev.rnd.3k
name|elev.rnd.3k
desc|Random sites from [elevation.dem in PERMANENT]
591407.5|4926481.5|%1136
591404.5|4926480.5|%1136
591410.5|4926480.5|%1136
[...]
This should be fixed.
Markus
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list