Hi Pierre! Your Id field, which you updated, is it the FID or Object ID field in the shapefile? If so, you have broken the shape file by updating it outside of ESRI applications. The FID is the internal key between the geometry and the dbase attribute table, and it should never be altered or trusted, or used for any purpose. Actually, QGis ought to hide that field by default.
Regards, Mats.E 2016-02-08 14:34 GMT+01:00 Pierre Muckensturm <[email protected]>: > Hi, > > I use a QGis 2.10 version, X64 on Windows installed with Osgeo4W. > > I'll try to explain the bug. > > I work on a map, with a shape file of polygons. They are not really > complex, nor numerous (25). I got id, DOSSIER, NOM_OPERAT, > PRIORITE, COMMENTA, DATE_MAJ, SOURCE, LIBELLE_X, LIBELLE_Y > fields and SURF_HA which is a virtual field. > > Friday, it took me 5 min to save the file each time I modify a vertex. > > Today, I update my id field with the expression "$id". Then, my shape file > looks like a totally mess (look at the imgur album : > http://imgur.com/a/noSM2). The LIBELLE_X, LIBELLE_Y fields have > disappeard, the DOSSIER field which used to be null is now partially > fulled, the NOM_OPERAT are truncated, fulled in a completelly non-sense > manner. As for PRIORITE, DATE_MAJ. > > Conclusion, 2 days of work in a trash. I'm quite pissed off, according > with the fact that I'm trying to convince my superior we shall use QGis. > > So, what happened ? How could this happen ? Sorry but I don't have the > genuine files, and the data are quite sensitive. > > > -- > PLM > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > -- ______________________________________________ Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden tel: +46 46 145959 / mob: +46 70 595 39 35 alt e-mail: [email protected] <[email protected]>
_______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
