[Qgis-user] problem with RECLASSIFY (GRASS)

Azzurra Lentini azzurralentini at gmail.com
Mon Nov 23 13:35:39 PST 2020


Sorry, I did not specify that I am using qgis 3.10.11 version
Anyway I have tried the same command and with the same files but
using  ggis 2.18 and in this version it is working, but I would like to do
it in some of the 3.1X versions..

Thanks, Azzurra

On Mon, 23 Nov 2020 at 22:08, Azzurra Lentini <azzurralentini at gmail.com>
wrote:

> 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é*
>
>
>
>
>
>

-- 
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/9ca882f8/attachment.html>


More information about the Qgis-user mailing list