[Qgis-user] problem with RECLASSIFY (GRASS)

Azzurra Lentini azzurralentini at gmail.com
Mon Nov 23 13:08:50 PST 2020


Hi to all, I am trying to reclassify a RASTER file slope - DATA TYPE int32
(I have obtained it from a DTM and I have converted the data type using
"translate" from data type float to INT32).
But when I tried to reclassify using a rule
0 thru 50 = 1
51 thru 90 = 2
 it gives thir error message:

*2020-11-23T22:00:15     INFO    processInputs end. Commands: ['g.proj -c
proj4="+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs"', 'r.external
input="D:\\ROMATRE_CompleteJune2019\\CORSI\\corsoGIS202021\\CORSO_LM\\CORSO_R3_LabGIS_TEORIA_PRATICA\\PRATICA\\ESERCITAZIONE_2franaRiskROSSANO\\Elaborazioni\\slope\\slope5_int32.tif"
band=1 output="rast_5fbc22df0abd18" --overwrite -o', 'g.region n=4384860.0
s=4370635.0 e=657470.0 w=639510.0 res=5.0']*
*2020-11-23T22:00:15     INFO    processCommands end. Commands: ['g.proj -c
proj4="+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs"', 'r.external
input="D:\\ROMATRE_CompleteJune2019\\CORSI\\corsoGIS202021\\CORSO_LM\\CORSO_R3_LabGIS_TEORIA_PRATICA\\PRATICA\\ESERCITAZIONE_2franaRiskROSSANO\\Elaborazioni\\slope\\slope5_int32.tif"
band=1 output="rast_5fbc22df0abd18" --overwrite -o', 'g.region n=4384860.0
s=4370635.0 e=657470.0 w=639510.0 res=5.0', 'r.reclass
input=rast_5fbc22df0abd18
rules="C:/Users/AZZURRAHYDRO/AppData/Roaming/QGIS/QGIS3/profiles/default/project_templates/processing_880301be01084a079edf4a3379b133ea\\5fbc22df0bb669"
output=output919ef43aa43442ca92efb3893e3b9c33 --overwrite'] *

When I tried to reclassify using an external .txt ( file containing the
rules it gives the same message..):

*2020-11-23T22:04:05     INFO    processInputs end. Commands: ['g.proj -c
proj4="+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs"', 'r.external
input="D:\\ROMATRE_CompleteJune2019\\CORSI\\corsoGIS202021\\CORSO_LM\\CORSO_R3_LabGIS_TEORIA_PRATICA\\PRATICA\\ESERCITAZIONE_2franaRiskROSSANO\\Elaborazioni\\slope\\slope5_int32.tif"
band=1 output="rast_5fbc23c5b84f411" --overwrite -o', 'g.region n=4384860.0
s=4370635.0 e=657470.0 w=639510.0 res=5.0']*
*2020-11-23T22:04:05     INFO    processCommands end. Commands: ['g.proj -c
proj4="+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs"', 'r.external
input="D:\\ROMATRE_CompleteJune2019\\CORSI\\corsoGIS202021\\CORSO_LM\\CORSO_R3_LabGIS_TEORIA_PRATICA\\PRATICA\\ESERCITAZIONE_2franaRiskROSSANO\\Elaborazioni\\slope\\slope5_int32.tif"
band=1 output="rast_5fbc23c5b84f411" --overwrite -o', 'g.region n=4384860.0
s=4370635.0 e=657470.0 w=639510.0 res=5.0', 'r.reclass
input=rast_5fbc23c5b84f411
rules="D:\\ROMATRE_CompleteJune2019\\CORSI\\corsoGIS202021\\CORSO_LM\\CORSO_R3_LabGIS_TEORIA_PRATICA\\PRATICA\\ESERCITAZIONE_2franaRiskROSSANO\\Elaborazioni\\SUSC\\INDslope_ROTsub.txt"
output=outputc10364340554433aa78a4eda2a6bc0fb --overwrite']*

Do you have any idea?

thank you, Azzurra

-- 
Lecturer GIS University "Roma Tre"
Consultant Environmental Risk Prevention and Hydrogeology
AZZURRA LENTINI
++++++++++++++++++++++++++
Italy Mobile Tel.: **(39) 338 24 40 676
++++++++++++++++++++++++++
SKYPE azzurrahydro
++++++++++++++++++++++++++

*azzurralentini at gmail.com <azzurralentini at gmail.com>*

*azzurra.lentini at uniroma3.it <azzurra.lentini at uniroma3.it> *
++++++++++++++++++++++++++
*Par respect pour l'environnement,*

*n'imprimez ce mail qu'en cas d'absolue nécessité*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201123/51be028a/attachment.html>


More information about the Qgis-user mailing list