[GRASS-user] r.category

Frank David frank.david at geophom.fr
Fri Oct 12 05:24:16 PDT 2018


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


More information about the grass-user mailing list