Im using 3.10.14 version of QGIS and something very strange started happening. I performed several attraction distance and attraction reach analyses (using the Place Syntax Tool) that I saved in the same layer. Then I would usually duplicate that layer (right click -> duplicate layer) to change the visualization settings to create different maps. I have been doing this over the course of 2 months. When I opened the project recently I saw that the values for some of the analyses in the attribute table had changed either to NULL or to a mix of 1, 0 and NULL. After I redo the analysis it looks fine again, but when opening it after a couple of hours it has changed again.

Has this happened to anyone else and do you have any suggestions as to what Im doing wrong?

Update: The file was saved as geopackage. I'm attaching screenshots of most part of the attribute table and the field types. Attribute table-part 1

Attribute table-part 2

Fields table

  • Please name tools or plugins correctly. – Erik Mar 30 at 6:49
  • Just edited in the post. – Selma Mar 30 at 7:06
  • There's no such thing as a "place syntax tool" in QGIS? – Erik Mar 30 at 7:50
  • smog.chalmers.se/pst You can download it here. But there's nothing wrong with the analyses themselves. What im wondering about is whether this qgis behavior of values disappearing from the attribute table has happened to someone else before or am i doing something wrong when saving files or smth similar? – Selma Mar 30 at 8:00
  • 1
    Do you have the same behavior if you save it to a shapefile? If not do you get different field types when you look at the shapefile? When your layer looks correct, if you use the Refactor Fields tool on it, and set proper field lengths and precisions for the real numbers, and save that, does that stick? – johns Apr 7 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.