<div dir="auto">Windows has a feature called previous versions. Locate the shape files on explorer, look for the dbf file, right click, properties and see if you have any previous versions that you can restore. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, <<a href="mailto:f.pelullo@gmail.com">f.pelullo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Ciao Vladut,</div><div dir="auto"><br></div><div dir="auto">I'm sorry, you have no chanches to recover deleted attributes.</div><div dir="auto"><br></div><div dir="auto">You need to populate attributes again.</div><div dir="auto"><br></div><div dir="auto">However, in my mind, this could be not a impossible job.</div><div dir="auto"><br></div><div dir="auto">SUP (area) attribute is a geometry dependant value, you could calculate areas again with a simple string in field calculator.</div><div dir="auto"><br></div><div dir="auto">TIPO (Type) attribute is the real problem, but since I suppose you extracted it from some public data source, maybe you could use field calculator again for extract data in minutes.</div><div dir="auto"><br></div><div dir="auto">Don't worry, these are common experiences that would drive you to a more prudent jobs management.</div><div dir="auto"><br></div><div dir="auto">Also hope you will adopt another file format (.gpkg is great) and leave shapefiles. </div><div dir="auto"><br></div><div dir="auto">Ciao</div><div dir="auto">Francesco</div><div dir="auto"><br></div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Il dom 15 nov 2020, 10:12 Vladut Constandoiu <<a href="mailto:vladutco@gmail.com" target="_blank" rel="noreferrer">vladutco@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good morning,<div><br></div><div>My name is Vladut Constandoiu, I'm a university student from Trento, Italy and I'm using QGis for my master thesis.</div><div>Yesterday I had a very unpleasant experience with QGis. I have a shapefile that contains all of the different areas of the river's hydrological basin on which I'm doing my project; every element has two attributes: type (TIPO) and area (SUP). Somehow I managed to erase those attributes from the attribute table and could not do undo (ctrl+z or anything else) since the auto-save plug-in activated exatly 2 seconds after  my mistake and saved the changes. The shapefile contains about 6900 elements, and they were all sorted by use, while now they are just areas without any information.</div><div>Is there any way to recover a previous version of that shapefile so that I don't have to spend uncountable hours putting all the attributes back in?</div><div>Here are three pictures of my work, previously and after the loss of information.</div><div><br></div><div>Before data loss:</div><div><div><img src="https://mail.google.com/mail/u/1?ui=2&ik=72f16071a9&attid=0.1.0.1&permmsgid=msg-f:1683416367690043952&th=175cb2446d3e5230&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ-5IbbhzyeD8iz9qPWCZoBzR2JhWv5gJjiBE_1aGUBFmUsAb8dRsZ_9J4IN0ZaTvdBOpqNDVB3r5PveOOMWic7-4rA9-MbFZv_O86cRbBWPAx_AXGFy77zh5CI&disp=emb&realattid=ii_khivyn6z0" alt="image.png" width="542" height="358" style="outline:0px"><br></div></div><div><br></div><div>After data loss + legend of types of area:</div><div><div><img src="https://mail.google.com/mail/u/1?ui=2&ik=72f16071a9&attid=0.1.0.2&permmsgid=msg-f:1683416367690043952&th=175cb2446d3e5230&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ8UnzpwabzMsqn1VnRr-MBjmGWDlDuDJgXXShQewBlDiavpY34kbBSZ8LjRhjIa7TpBVJqosRrz3-6Wppa80oqJ2b4hwrCZI9-RD-T7RZw1AY2UxmoI8ojKuv8&disp=emb&realattid=ii_khiw0zn31" alt="image.png" width="542" height="274" style="outline:0px"><br></div></div><div><br></div><div>Attribute panel:</div><div><div><img src="https://mail.google.com/mail/u/1?ui=2&ik=72f16071a9&attid=0.1.0.3&permmsgid=msg-f:1683416367690043952&th=175cb2446d3e5230&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_pUXpngqkDBLS-31fOVAEInBwy3gm5V-E6rXFV-TDXy7OJbXKW6nKCgP1tKiBGPTp5BnZXX3QHomnpec2mlb_OrLfTeG7Enjl71kSCVtkranZIEnS2uiO1s1c&disp=emb&realattid=ii_khiw2bnz2" alt="image.png" width="542" height="340" style="outline:0px"><br></div></div><div><br></div><div>I would be enormously grateful to anyone who could help me find a solution for this mess.</div><div><br></div><div>Thank you very much in advance and have a nice day.</div><div>Sincerely,</div><div>Vladut Constandoiu </div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>