Re: [Qgis-user] Loss of data
Hi Vladut, Sorry this happened to you. In case you have not already, to prevent it from happening in the future, you might want to change your Autosaver preferences (Plugins: Autosaver: auto save current project). -Thayer On Sunday, November 15, 2020, 06:56:49 AM EST, qgis-user-requ...@lists.osgeo.org wrote: Send Qgis-user mailing list submissions to qgis-user@lists.osgeo.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.osgeo.org/mailman/listinfo/qgis-user or, via email, send a message with subject or body 'help' to qgis-user-requ...@lists.osgeo.org You can reach the person managing the list at qgis-user-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Qgis-user digest..." Today's Topics: 1. Loss of data (Vladut Constandoiu) 2. Re: Loss of data (Hernán De Angelis) 3. Re: Loss of data (Francesco Pelullo) 4. Re: Loss of data (Yury) 5. Re: Loss of data (Andrea Peri) 6. Re: Problem exporting to pdf (António Pestana) -- Message: 1 Date: Sun, 15 Nov 2020 10:12:22 +0100 From: Vladut Constandoiu To: qgis-user@lists.osgeo.org Subject: [Qgis-user] Loss of data Message-ID: Content-Type: text/plain; charset="utf-8" Good morning, My name is Vladut Constandoiu, I'm a university student from Trento, Italy and I'm using QGis for my master thesis. 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. 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? Here are three pictures of my work, previously and after the loss of information. Before data loss: [image: image.png] After data loss + legend of types of area: [image: image.png] Attribute panel: [image: image.png] I would be enormously grateful to anyone who could help me find a solution for this mess. Thank you very much in advance and have a nice day. Sincerely, Vladut Constandoiu -- next part -- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/3ff9ad17/attachment-0001.html> -- Message: 2 Date: Sun, 15 Nov 2020 10:16:52 +0100 From: Hernán De Angelis To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Loss of data Message-ID: Content-Type: text/plain; charset="utf-8"; Format="flowed" If you made changes to the tables and saved them then there is for me no obvious way to recover the information to its previous state. Unless you had a backup of your original data which is always a good thing to have. Good luck. On 2020-11-15 10:12, Vladut Constandoiu wrote: > Good morning, > > My name is Vladut Constandoiu, I'm a university student from Trento, > Italy and I'm using QGis for my master thesis. > 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. > 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? > Here are three pictures of my work, previously and after the loss of > information. > > Before data loss: > image.png > > After data loss + legend of types of area: > image.png > > Attribute panel: > image.png > > I would be enormously grateful to anyone who could help me find a > solution for this mess. > > Thank you very much in advance and have a nice day. > Sincerely, > Vladut Constandoiu > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.o
Re: [Qgis-user] Loss of data
Pedro and list, On Sun, Nov 15, 2020, 08:11 Pedro Machado Monteiro < pedromachadomonte...@gmail.com> wrote: > Hey Vladut: > > If you succeed in recovering the previous *dbf* file, you can join it > again to the recent damaged shapefile, by the common field of area, > provided your previous field SUP (area) was actually the area of the > geometry elements. > > > Not necessarily a good idea. There could be many elements with the same area. If it's the previous DBF why is it necessary to "join" anything - the record IDs in the shape data and DBF should still connect. Chris ___ 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
Re: [Qgis-user] Loss of data
Hey Vladut: If you succeed in recovering the previous *dbf* file, you can join it again to the recent damaged shapefile, by the common field of area, provided your previous field SUP (area) was actually the area of the geometry elements. Before joining, recalculate and/or round the area fields, in order to fix them to the same and appropriate number of decimals (and, if necessary, convert them to string), so that you can assure exact matches. Best regards Pedro Monteiro Andrea Peri escreveu no dia domingo, 15/11/2020 à(s) 11:36: > Restoring only the dbf will do am error for a shapefile because it is sync > with shp and shx. > The retrieve should fo for all three files or nothing. > The dhx could be recalculate from dbf and shp. But dbf and shp must be > sync-ed. > > A. > > > Il dom 15 nov 2020, 11:37 Yury ha scritto: > >> 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. >> >> On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, >> wrote: >> >>> Ciao Vladut, >>> >>> I'm sorry, you have no chanches to recover deleted attributes. >>> >>> You need to populate attributes again. >>> >>> However, in my mind, this could be not a impossible job. >>> >>> SUP (area) attribute is a geometry dependant value, you could calculate >>> areas again with a simple string in field calculator. >>> >>> 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. >>> >>> Don't worry, these are common experiences that would drive you to a more >>> prudent jobs management. >>> >>> Also hope you will adopt another file format (.gpkg is great) and leave >>> shapefiles. >>> >>> Ciao >>> Francesco >>> >>> >>> >>> Il dom 15 nov 2020, 10:12 Vladut Constandoiu ha >>> scritto: >>> Good morning, My name is Vladut Constandoiu, I'm a university student from Trento, Italy and I'm using QGis for my master thesis. 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. 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? Here are three pictures of my work, previously and after the loss of information. Before data loss: [image: image.png] After data loss + legend of types of area: [image: image.png] Attribute panel: [image: image.png] I would be enormously grateful to anyone who could help me find a solution for this mess. Thank you very much in advance and have a nice day. Sincerely, Vladut Constandoiu ___ 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 >>> >>> ___ >>> 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 >> >> ___ >> 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 > > ___ > 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 ___ 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
Re: [Qgis-user] Loss of data
This is a great idea if she is on Windows. Right click on the folder and select previous versions. Then just selectively drag and drop files from that restored folder. Backups - backups. At home I have no fewer than 6 backups around me. Even on the road I have 2 - 3 backups with me at all times. Mike On 11/15/20 5:56 AM, qgis-user-requ...@lists.osgeo.org wrote: 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. ___ 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
Re: [Qgis-user] Loss of data
Restoring only the dbf will do am error for a shapefile because it is sync with shp and shx. The retrieve should fo for all three files or nothing. The dhx could be recalculate from dbf and shp. But dbf and shp must be sync-ed. A. Il dom 15 nov 2020, 11:37 Yury ha scritto: > 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. > > On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, wrote: > >> Ciao Vladut, >> >> I'm sorry, you have no chanches to recover deleted attributes. >> >> You need to populate attributes again. >> >> However, in my mind, this could be not a impossible job. >> >> SUP (area) attribute is a geometry dependant value, you could calculate >> areas again with a simple string in field calculator. >> >> 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. >> >> Don't worry, these are common experiences that would drive you to a more >> prudent jobs management. >> >> Also hope you will adopt another file format (.gpkg is great) and leave >> shapefiles. >> >> Ciao >> Francesco >> >> >> >> Il dom 15 nov 2020, 10:12 Vladut Constandoiu ha >> scritto: >> >>> Good morning, >>> >>> My name is Vladut Constandoiu, I'm a university student from Trento, >>> Italy and I'm using QGis for my master thesis. >>> 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. >>> 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? >>> Here are three pictures of my work, previously and after the loss of >>> information. >>> >>> Before data loss: >>> [image: image.png] >>> >>> After data loss + legend of types of area: >>> [image: image.png] >>> >>> Attribute panel: >>> [image: image.png] >>> >>> I would be enormously grateful to anyone who could help me find a >>> solution for this mess. >>> >>> Thank you very much in advance and have a nice day. >>> Sincerely, >>> Vladut Constandoiu >>> ___ >>> 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 >> >> ___ >> 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 > > ___ > 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 ___ 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
Re: [Qgis-user] Loss of data
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. On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, wrote: > Ciao Vladut, > > I'm sorry, you have no chanches to recover deleted attributes. > > You need to populate attributes again. > > However, in my mind, this could be not a impossible job. > > SUP (area) attribute is a geometry dependant value, you could calculate > areas again with a simple string in field calculator. > > 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. > > Don't worry, these are common experiences that would drive you to a more > prudent jobs management. > > Also hope you will adopt another file format (.gpkg is great) and leave > shapefiles. > > Ciao > Francesco > > > > Il dom 15 nov 2020, 10:12 Vladut Constandoiu ha > scritto: > >> Good morning, >> >> My name is Vladut Constandoiu, I'm a university student from Trento, >> Italy and I'm using QGis for my master thesis. >> 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. >> 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? >> Here are three pictures of my work, previously and after the loss of >> information. >> >> Before data loss: >> [image: image.png] >> >> After data loss + legend of types of area: >> [image: image.png] >> >> Attribute panel: >> [image: image.png] >> >> I would be enormously grateful to anyone who could help me find a >> solution for this mess. >> >> Thank you very much in advance and have a nice day. >> Sincerely, >> Vladut Constandoiu >> ___ >> 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 > > ___ > 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 ___ 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
Re: [Qgis-user] Loss of data
Ciao Vladut, I'm sorry, you have no chanches to recover deleted attributes. You need to populate attributes again. However, in my mind, this could be not a impossible job. SUP (area) attribute is a geometry dependant value, you could calculate areas again with a simple string in field calculator. 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. Don't worry, these are common experiences that would drive you to a more prudent jobs management. Also hope you will adopt another file format (.gpkg is great) and leave shapefiles. Ciao Francesco Il dom 15 nov 2020, 10:12 Vladut Constandoiu ha scritto: > Good morning, > > My name is Vladut Constandoiu, I'm a university student from Trento, Italy > and I'm using QGis for my master thesis. > 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. > 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? > Here are three pictures of my work, previously and after the loss of > information. > > Before data loss: > [image: image.png] > > After data loss + legend of types of area: > [image: image.png] > > Attribute panel: > [image: image.png] > > I would be enormously grateful to anyone who could help me find a solution > for this mess. > > Thank you very much in advance and have a nice day. > Sincerely, > Vladut Constandoiu > ___ > 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 ___ 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
Re: [Qgis-user] Loss of data
If you made changes to the tables and saved them then there is for me no obvious way to recover the information to its previous state. Unless you had a backup of your original data which is always a good thing to have. Good luck. On 2020-11-15 10:12, Vladut Constandoiu wrote: Good morning, My name is Vladut Constandoiu, I'm a university student from Trento, Italy and I'm using QGis for my master thesis. 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. 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? Here are three pictures of my work, previously and after the loss of information. Before data loss: image.png After data loss + legend of types of area: image.png Attribute panel: image.png I would be enormously grateful to anyone who could help me find a solution for this mess. Thank you very much in advance and have a nice day. Sincerely, Vladut Constandoiu ___ 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 ___ 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
[Qgis-user] Loss of data
Good morning, My name is Vladut Constandoiu, I'm a university student from Trento, Italy and I'm using QGis for my master thesis. 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. 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? Here are three pictures of my work, previously and after the loss of information. Before data loss: [image: image.png] After data loss + legend of types of area: [image: image.png] Attribute panel: [image: image.png] I would be enormously grateful to anyone who could help me find a solution for this mess. Thank you very much in advance and have a nice day. Sincerely, Vladut Constandoiu ___ 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
[Qgis-user] LOSS OF DATA AFTER DELETING DUPLICATE GEOMETRIES
Hi, I used MMQGIS to delete duplicate geometries. After deleting, I saved the file using a pre-existing name, overwrote the file and opened it. The file was blank. What could have gone wrong? I have lost all the data/records in the old file. The attribute table was blank and the file fise 1kb. How do I recover my records? Bernard K. Ngoruse,MSc.,Reg. Geologist, Lead Expert, EIA & EA Cell: +254723153469 email: bkngor...@yahoo.com, ngoruse07.2...@gmail.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