[Qgis-user] Loss of data
Thayer Young
thayeray at yahoo.com
Sun Nov 15 08:26:40 PST 2020
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-request at lists.osgeo.org <qgis-user-request at lists.osgeo.org> wrote:
Send Qgis-user mailing list submissions to
   qgis-user at 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-request at lists.osgeo.org
You can reach the person managing the list at
   qgis-user-owner at 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 <vladutco at gmail.com>
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] Loss of data
Message-ID:
   <CANRCGAcSsLdPT_b6=pwG+oeVptVJQ==VaoPZfudZhPiAj1BeRw at mail.gmail.com>
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 <variablestarlight at gmail.com>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Loss of data
Message-ID: <c5dd335e-aebd-d4de-9100-14211a5cb59b at gmail.com>
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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/5439debb/attachment-0001.html>
------------------------------
Message: 3
Date: Sun, 15 Nov 2020 10:44:42 +0100
From: Francesco Pelullo <f.pelullo at gmail.com>
To: qgis-user <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Loss of data
Message-ID:
   <CAH6xWvjgibzu_PAXmnf8JpeoUzJm1ORp=rp+h=X8nt0kV=XfkA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <vladutco at gmail.com> 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/599edefa/attachment-0001.html>
------------------------------
Message: 4
Date: Sun, 15 Nov 2020 11:34:56 +0100
From: Yury <yury.zammit at gmail.com>
To: Francesco Pelullo <f.pelullo at gmail.com>
Cc: qgis-user <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Loss of data
Message-ID:
   <CAPpbsUvHjR7j9Hvgr-TXZDJoru36csK7Hye5_TaXYHPQkmKwWg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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, <f.pelullo at gmail.com> 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 <vladutco at gmail.com> 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 at 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/4bf2ec2e/attachment-0001.html>
------------------------------
Message: 5
Date: Sun, 15 Nov 2020 12:36:34 +0100
From: Andrea Peri <aperi2007 at gmail.com>
To: yury.zammit at gmail.com
Cc: Francesco Pelullo <f.pelullo at gmail.com>, qgis-user
   <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Loss of data
Message-ID:
   <CABqTJk-pb1V22E4smMyB9BKrFDZBkSSkSvVjYAbGZ84w6Rqd7Q at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <yury.zammit at gmail.com> 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, <f.pelullo at gmail.com> 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 <vladutco at gmail.com> 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 at 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 at 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/1c3de5bc/attachment-0001.html>
------------------------------
Message: 6
Date: Sun, 15 Nov 2020 11:56:03 +0000
From: António Pestana <afsm.pestana at gmail.com>
To: Jorge Gustavo Rocha <jgr at geomaster.pt>
Cc: Qgis List <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Problem exporting to pdf
Message-ID:
   <CACHwcg+=DciBhQvUvcTGTovC16S6CPUy2ud6HruAgsJpkGfuDA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Bom dia Jorge.
I don't know what the "layer tree" is... I did change the name of the layer
(in the layers panel) to ASCII characters only but had no luck. In order to
solve this problem I had to change the name of the four files of the
shapefile accordingly.
Regards
Jorge Gustavo Rocha <jgr at geomaster.pt> escreveu no dia sábado, 14/11/2020
à (s) 21:21:
> Boa noite António,
>
> Just rename the layer (in QGIS layer tree) from "Todas as Parcelas Ãreas"
> to "Todas as Parcelas Areas".
>
> Then you will be able to export the layer :-)
>
> Please file a issue at [1]. Layers with such names should be supported.
>
> Regards,
>
> Jorge Gustavo
>
> [1] https://github.com/qgis/QGIS/issues
> Ãs 20:32 de 14/11/20, António Pestana escreveu:
>
> I´m using QGIS Desktop 3.16 on W10. My project (see All_Data.zip) has
> only two shapefile layers, one for polygons (Todas as Parcelas Ãreas)
> and the other for lines (Todas as Parcelas Linhas). I used a very
> simple layout for exporting my map to one layered geopdf. If I use the
> default export options (see Options_NOT_OK.PNG) export aborts throwing
> the "Could not create print device" error. However if I uncheck the
> "Include Attributes" checkbox of the export options (see
> options_OK.PNG), the export is made and the resulting pdf file looks
> fine.... Does someone know what is happening?
>
> Regards
>
> António
>
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> [image: Logo] <https://www.geomaster.pt>
> *Geomaster*
> *Jorge Gustavo Rocha* | Software Engineer
> *e:* jgr at geomaster.pt | *m:* +351 910 333 888
> *g:* 41.54094,-8.40490 | *v: * 510 906 109
> *a: * Rua António Cândido Pinto, 67, 4715-400 Braga
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/114e8858/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
------------------------------
End of Qgis-user Digest, Vol 177, Issue 33
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201115/4afdca7c/attachment-0001.html>
More information about the Qgis-user
mailing list