I have a lot of points, I started to editing with QGIS, after editing my data disappear.

I do not understand the reason?

enter image description here

enter image description here

  • Are you sure this is the same layer? Which data type does it have? Did you run any operations on it?
    – Erik
    Dec 17, 2021 at 9:52
  • Yes is the same layer, I move the point, save the layer, and after all my data are deleted Dec 17, 2021 at 10:14
  • Can you provide example data?
    – Erik
    Dec 17, 2021 at 10:27
  • Yes, where I send the shapefile ? Dec 17, 2021 at 10:28
  • 1
    It simply looks as if you don't have any attributes. If you had them before, could it be you deleted them?
    – Babel
    Dec 17, 2021 at 13:22

2 Answers 2


As @JGH pointed out, part of the problem may be that your DBF file is corrupted, and it is.

I opened the dbf in a hex editor and some bytes needed to read it are missing. The bytes 8(08) through 10(0B) were zeroed, these bytes tell you how big is the file header and how big are the records in bytes. Your first byte value is a zero too, which is a valid value from the spec (as far as I can tell) but doesn't seem to open unless it is a 0x03 value, similar to other shapefiles.

What you had:

Incorrect header

What it should be:

Correct Values

I corrected the values and now your shapefile works in QGIS, and the values remain when in edit mode.

Here is a archive with a working shapefile, hopefully 10 minutes of my work saved you having to recreate 2055 records. Enjoy.


  • 1
    WOW! This is fantastic, real magic. This is definitely on of my prefered answers. Reallly great.
    – Babel
    Dec 17, 2021 at 17:48
  • 1
    Many thanks, you are realy good !!!!!!! Dec 19, 2021 at 10:43

The cause of file corruption is the storage point of file I worked in pgcloud. Many thanks for support !!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.