Hi Fabio:

This is GRASS function and you can find an explanation at:

https://www.ibiblio.org/pub/packages/gis/grass/grass63/manuals/html63_user/v.reclass.html

Instead of a simple lookup table, some sql sytax is required.

9110 - (Hainsimsen-Buchenwald)    9110


you would require:


9110

where feature = '9110 - (Hainsimsen-Buchenwald)'or '9110 - (Hainsimsen-Buchenwald)(100.00000%)' ....


Note the single quotations for text.


An easier approach would be top calculate a new field using the field calculator and use the string left expression - left(/landclass field/, 4)


Kirk Schmidt

On 6/28/2023 9:52 AM, fabio castelli via QGIS-User wrote:
Dear Qgis users,

I kindly ask for your support with an issue related to the reclassification of attribute tables with the v.reclass function. Here's the link to the question posted on Stackexchenge: https://gis.stackexchange.com/questions/462318/reclassify-field-values-from-txt-rule-file-in-qgis

Thank you and best regards,

Fabio Castelli


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Privo di virus.www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>


_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email:k...@nortekresources.com
Web:www.nortekresources.com
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to