<div dir="ltr">Hi all,<div><br></div><div>I am following the QGIS training guide (complete with datasets it had me download) and am working with vector classifications. After the guide prompted me create a nominal classification of the "landuse" layer, it went into ratio classification. I added an AREA column to the attribute table, and used the attribute calculator to find the areas of all attributes (with the "type" box set as "decimal number"). I changed the classification style to "Graduated," changed the "column" to AREA, created my own color ramp and classified the data. after I clicked "OK" through the prompts to get back to the main screen, I tried to save the style and toggle off editing, and I got an error stating the following:</div><div><br></div><div><p style="margin:0px">Could not commit changes to layer landuse</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">Errors: ERROR: 1 new attribute(s) not added</p>
<p style="margin:0px">  ERROR: 55 attribute value change(s) not applied.</p>
<p style="margin:0px">  </p>
<p style="margin:0px">  Provider errors:</p>
<p style="margin:0px">      SQLite error: duplicate column name: AREA</p>
<p style="margin:0px">    SQL: ALTER TABLE "landuse" ADD COLUMN "AREA" FLOAT</p>
<p style="margin:0px">      SQLite error: near "WHERE": syntax error</p>
<p style="margin:0px">    SQL: </p>
<p style="margin:0px"> </p><p style="margin:0px">I'm not sure what it means and what I am supposed to do to rectify the situation. Could anyone help me? I greatly appreciate it!</p><p style="margin:0px"><br></p><p style="margin:0px">Best,</p><p style="margin:0px"><br></p><p style="margin:0px">      Jack C. (new QGIS user)</p></div></div>