<p dir="ltr">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. <br>
</p>
<div class="gmail_quote">Le 8 févr. 2016 16:02, "Mats Elfström" <<a href="mailto:mats.elfstrom@gmail.com">mats.elfstrom@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Pierre!<br></div><div>Your Id field, which you updated, is it the FID or Object ID field in the shapefile?<br></div><div>If so, you have broken the shape file by updating it outside of ESRI applications.<br></div><div>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.<br><br></div><div>Regards, Mats.E<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-08 14:34 GMT+01:00 Pierre Muckensturm <span dir="ltr"><<a href="mailto:pierre@georezo.net" target="_blank">pierre@georezo.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I use a QGis 2.10 version,  X64 on Windows installed with Osgeo4W.<br><br></div>I'll try to explain the bug. <br><br></div>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.<br><br></div><div>Friday, it took me 5 min to save the file each time I modify a vertex.<br></div><div><br></div>Today, I update my id field with the expression "$id". Then, my shape file looks like a totally mess (look at the imgur album : <span><a href="http://imgur.com/a/noSM2" target="_blank">http://imgur.com/a/noSM2</a>). 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. <br><br></span></div><span>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.<br><br></span></div><span>So, what happened ? How could this happen ? Sorry but I don't have the genuine files, and the data are quite sensitive.<span><font color="#888888"><br></font></span></span><span><font color="#888888"><br><br><div><div><div><div><div><div><div><div>-- <br><div>PLM</div>
</div></div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr">______________________________________________<br>Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden<br>tel: <a href="tel:%2B46%2046%20145959" value="+4646145959" target="_blank">+46 46 145959</a> / mob: <a href="tel:%2B46%2070%20595%2039%2035" value="+46705953935" target="_blank">+46 70 595 39 35</a><br>alt e-mail: <a href="mailto:mats.elfstrom@telia.com" target="_blank">mats.elfstrom@giskraft.com</a><br><br></div></div>
</div>
</blockquote></div>