I have not come across this error (so far) when working with shapefiles, and we often exchange shapefiles generated in QGIS with ArcGis people. Is it a problem with data with lots of attributes? Will need to test with 2.10 and 2.12.
On 8 February 2016 at 15:54, Pierre Muckensturm <[email protected]> wrote: > I''ve created the file in QGis, edited it in QGis, never used esri with this > file. Id is the default field (i'm assuming this is the object id) QGis > create when you create a shp. > > Le 8 févr. 2016 16:02, "Mats Elfström" <[email protected]> a écrit : >> >> 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] >> > > _______________________________________________ > 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 _______________________________________________ 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
