[Qgis-user] [QGis 2.10]Error while saving shape file

Mats Elfström mats.elfstrom at gmail.com
Mon Feb 8 07:02:13 PST 2016


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 <pierre at georezo.net>:

> 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
> Qgis-user at lists.osgeo.org
> 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: mats.elfstrom at giskraft.com <mats.elfstrom at telia.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160208/13c2b204/attachment.html>


More information about the Qgis-user mailing list