[GRASS-user] r.category
Stefan Blumentrath
Stefan.Blumentrath at nina.no
Fri Oct 12 06:02:54 PDT 2018
Hi Frank,
You need to specify the range option as range=0,8 (instead of range=0-8 as you did).
Cheers
Stefan
-----Original Message-----
From: grass-user <grass-user-bounces at lists.osgeo.org> On Behalf Of Frank David
Sent: fredag 12. oktober 2018 14:24
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] r.category
Hello grass users,
I have an error message in the console when I open some rasters with witch I've done a r.category.
"Failed to run command 'd.legend
raster=ZVT_nac_projet_hoht2__BDalti75_a1_8_sum at derval title=nacelle color=white range=0-8 at=5.0,50.0,6.9,9.9 thin=3'. Details:
ERROR: Option <range> must be provided in multiples of 2
You provided 1 item(s): 0-8"
a r.describe display :
* 0.000000-0.031373 0.972549-1.003922 1.976471-2.007843 2.980392-3.011765
3.984314-4.015686 4.956863-4.988235 5.960784-5.992157 6.964706-6.996078
7.968627-8.000000
r.report display :
| 0-0.031373|from
to |
|0.972549-1.003922|from
to |
|1.976471-2.007843|from
to |
|2.980392-3.011765|from
to |
|3.984314-4.015686|from
to |
|4.988235-5.019608|from
to |
|5.992157-6.023529|from
to |
|6.996078-7.027451|from
to |
| 7.968627-8|from
to |
| *|no data
I don't understand what the error message means (in red color in the
console) ?
Thank your for your help !
Frank
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list