[GRASS5] r.to.sites: change proposal for -a

Hi all,

a proposal for r.to.sites:
Currently when converting raster data to sites format you
get a list like this:

3571556.25|5775981.25|#106
3571731.25|5775981.25|#123.8
3572243.75|5775981.25|#109.5
3570556.25|5775968.75|#132.5

Here we have two problems:
- #cat may be INT only
- usually you want %doubles format in sites list

I propose a change for r.to.sites:
remove this flag:
  -a Output as decimal attribute rather than cat

and add a new one:
  -c Output as cat rather than decimal attribute

Would that be o.k.? If not we would need at least a test
if the raster map is an FP map and generate doubles in sites list then.
Above format is invalid.

If there are no objections I would change the flag in r.to.sites
and the HTML page, too.

Kind regards

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'