<div dir="ltr"><br><br>On Fri, Nov 16, 2018 at 7:30 AM Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>> wrote:<br>><br>> >Thank you for your reply. There are many potential categories and<br>> >thousands of polygons, do you have insight on how to assign int values<br>> >on-the-fly using v.db.update? Hard coding all potential values would be<br>> >cumbersome in this application. :)<br>><br>> have you read the manual?:<br>><br>> <a href="https://grass.osgeo.org/grass76/manuals/v.db.update.html">https://grass.osgeo.org/grass76/manuals/v.db.update.html</a><br>><br>> where=sql_query<br>>     WHERE conditions of SQL statement without<br>><br>> looping through your categories in sm_soil_se by a where clause and<br>> v.db.update the sm_soil_se_int column accordingly?<br><div><br></div><div>You could also use v.reclass, e.g.<br></div><div><br></div><div>v.reclass input=soils column=sm_soil_se output=soils_reclass</div><div><br></div><div>all areas with the same string value in "sm_soil_se" will get the same category value.</div><div><br></div><div>Markus M<br></div><div>></div>><br>><br>> -----<br>> best regards<br>> Helmut<br>> --<br>> Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html">http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html</a><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>