<div dir="ltr"><div><br><br>On Fri, May 12, 2017 at 4:31 PM, RichardCooper <<a href="mailto:richtcooper@hotmail.com">richtcooper@hotmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> I'm not sure what I'm doing wrong, but after apparently successfully running<br>> v.reclass the resulting vector layer contains no attribute table and no new<br>> table is created. I have observed the same problem in sqlite and postgresql.<br>><br>> v.reclass --overwrite input=zones@PERMANENT output=zones_reclassed@PERMANENT<br>> rules=/home/user/Desktop/rulesf.rcl<br><br></div>When using the rules option, it does not make sense to copy attributes, therefore an attribute table is not created. For example, several entries could have 'texstring' in col_name but different values in col_name2, therefore col_name2 can not be copied.<br><br>You can create a new attribute table with v.db.addtable.<br><div><br>> WARNING: Vector map <zone_reclassed> already exists and will be overwritten<br>> WARNING: For 368 elements no new category was defined<br>> Building topology for vector map <zones_reclassed@PERMANENT>...<br>> Registering primitives...<br>> 1543 primitives registered<br>> 34380 vertices registered<br>> Building areas...<br>> 510 areas built<br>> 240 isles built<br>> Attaching islands...<br>> Attaching centroids...<br>> Number of nodes: 763<br>> Number of primitives: 1543<br>> Number of points: 0<br>> Number of lines: 0<br>> Number of boundaries: 1033<br>> Number of centroids: 510<br>> Number of areas: 510<br>> Number of isles: 240<br>><br>> Here, I'm trying to reclassify categories with the text strings in col_name<br>> to categories 1000 and 1001.<br>> rules.rcf:<br>> cat 1000<br>> where col_name = 'text string'<br>> cat 1001<br>> where col_name = 'test string2'<br>><br>> The above output mentions 'no new category defined'?<br><br></div><div>No new category is defined if there is no matching rule.<br></div><div><br></div><div>Markus M <br></div></div>